Skip to content

Commit 55362b5

Browse files
committed
increase timeout on long-running test (because Babel 6 is SLOOOW)
1 parent 8b7cd56 commit 55362b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/fixture/long-running.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ test('long running', function (t) {
2121
setTimeout(function () {
2222
// this would keep the process running for a long time.
2323
console.log('I\'m gonna live forever!!');
24-
}, 15000);
24+
}, 200000);
2525
});

test/fork.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test('exit after tests are finished', function (t) {
4848

4949
fork(fixture('long-running.js'))
5050
.on('exit', function () {
51-
t.ok(Date.now() - start < 10000, 'test waited for a pending setTimeout');
51+
t.ok(Date.now() - start < 120000, 'test waited for a pending setTimeout');
5252
t.ok(cleanupCompleted, 'cleanup did not complete');
5353
})
5454
.on('cleanup-completed', function (event) {

0 commit comments

Comments
 (0)