Commit Graph

28 Commits

Author SHA1 Message Date
Nick O'Leary 46acc62279
Make Trigger node timeout test 1ms more tolerable 2018-07-15 21:13:02 +01:00
Hiroyasu Nishiyama 91992b48c1 add multiple persistable store tests 2018-07-14 12:15:26 +09:00
Kazuhito Yokoi 761161a8e5 Fix async problem in test cases 2018-07-13 17:34:04 +09:00
Kazuhito Yokoi 590506e306 Add test cases of persistable context for trigger node 2018-07-13 15:26:07 +09:00
Nick O'Leary d7adff9a65
Add async message handling to Trigger node 2018-07-09 14:12:44 +01:00
Dave Conway-Jones 3df3d6f516
add debug to trigger test to help work out fails 2018-05-24 10:02:51 +01:00
Nick O'Leary 3b5a2815a9
Merge master 2018-05-08 23:27:27 +01:00
Nick O'Leary ae4b1b17a9
Increase trigger node test timings 2018-05-01 12:59:53 +01:00
Christopher Hiller e1195ac00a fix many test problems (#1677)
* fix many test problems

- adds [stoppable](https://npm.im/stoppable) to force-stop net & http
  servers
- upgrades to latest mocha
- much cleanup of servers
- some removal of useless code

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>

* increase wait time to hack at race condition

* PoC with fork of stoppable

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>

* fix custom stoppable url for newer npm

* make travis go faster; attempt to avoid npm troubles

* fix coveralls executable path

* add extra time for flake to trigger spec

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
2018-04-23 12:37:26 +01:00
Dave Conway-Jones 7e416797e9
make trigger test a bit more robust 2018-03-19 17:33:18 +00:00
mblackstock 10d8ca30b0 use node-red-node-test-helper for node tests 2018-03-01 20:41:16 -08:00
Dave Conway-Jones 4ebb5d099e
add trigger reset test for null on 2nd output 2018-03-01 14:00:14 +00:00
Dave Conway-Jones 9bc72c1a06 let trigger node be reset by boolean message (#1554)
* let trigger node be reset by boolean message

with test

* fix trigger node boolean reset check to work with false

and add test
2018-01-17 09:51:53 +00:00
Dave Conway-Jones f737ea96f3
Don't send message if it doesn't exist. and give it time not to exist.
to close #1527
2017-12-19 17:54:26 +00:00
Dave Conway-Jones cc88ebd2b9 Let trigger node support per topic mode (#1398)
* Let trigger node support per topic mode

* ensure trigger node clones repeating message

* Add some tests for trigger by topic

* test trigger repeat for pass by ref error

* trigger test - add missing try/catch to all test with callback

* boost trigger node test coverage
2017-11-17 17:35:18 +00:00
Nick O'Leary d8a3d2793f
Trigger node not handling a duration of 0 as block mode
Fixes #1316
2017-07-03 15:20:37 +01:00
Kazuki-Nakanishi 05878d3176 Fix the test cases which sometimes fails due to timing. (#1228) 2017-04-12 20:54:31 +01:00
Dave Conway-Jones 27b7fb54e8 nail trigger test for windows AND linux 2017-03-06 19:06:10 +00:00
Dave Conway-Jones 06ffe722d4 better tests for windows nodes 2017-03-06 17:40:09 +00:00
Dave Conway-Jones 1841fc18fa let trigger node set repeated outputs 2017-02-07 21:14:16 +00:00
Nick O'Leary 0a96259ddf
Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
Nick O'Leary 691b083364 Update trigger node ui to use typedInputs 2016-07-05 15:39:00 +01:00
Dave Conway-Jones bd59398cab Add optional timeout to exec node
(both exec and spawn modes)
and add test for it (both exec and spawn)
also extra test for trigger node.
2016-04-27 22:32:58 +01:00
Dave Conway-Jones 8916cf273e Let trigger node also send last payload to arrive
and add test for it.
2016-04-24 17:42:24 +01:00
Dave Conway-Jones d0f57efe0b test a few extra paths in several nodes
trigger, switch and file
(and linted delay just because)
2016-04-23 21:06:48 +01:00
Dave Conway-Jones d3a29a6f16 fix trigger tests 2016-02-04 21:22:52 +00:00
dceejay a9a0953653 Slide timing window to left for trigger node test. 2015-04-04 22:27:25 +01:00
dceejay 8a96dbd121 New tests for Trigger, catch and unknown nodes 2015-03-25 21:58:26 +00:00