Skip to content

Commit

Permalink
Extend some of the test timeouts
Browse files Browse the repository at this point in the history
This is to accommodate some lower-powered devices, such as the RPi.
  • Loading branch information
hlapp committed May 29, 2017
1 parent cf2c994 commit dbc5a83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/01.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ test('can be used to promise waiting for \'nodes-started\'', function(t) {

t.test('using defaults', function(subtest) {
subtest.plan(4);
subtest.timeoutAfter(40);
subtest.timeoutAfter(80);
testWaiting(embeddedStart(REDresult), subtest);
});
t.test('using full signature', function(subtest) {
subtest.plan(4);
subtest.timeoutAfter(40);
subtest.timeoutAfter(80);
testWaiting(embeddedStart(RED, 30, REDresult), subtest);
});
t.end();
Expand Down Expand Up @@ -96,7 +96,7 @@ test('generated function rejects if waiting times out', function(t) {
t.plan(7);

let REDresult = {}, spy = sinon.spy();
t.timeoutAfter(30);
t.timeoutAfter(50);
let waitFunc = embeddedStart(RED, 20);
let p = waitFunc(REDresult);
t.ok(p instanceof Promise, 'returns promise if waiting');
Expand Down

0 comments on commit dbc5a83

Please sign in to comment.