From dbc5a8358f3ef29e6b8bb722279a39541bea75e1 Mon Sep 17 00:00:00 2001 From: Hilmar Lapp Date: Mon, 29 May 2017 14:29:37 -0400 Subject: [PATCH] Extend some of the test timeouts This is to accommodate some lower-powered devices, such as the RPi. --- test/01.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/01.js b/test/01.js index eb10315..6a700ba 100644 --- a/test/01.js +++ b/test/01.js @@ -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(); @@ -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');