From a30f5a02b886429457dccf427e835708fc6e55a9 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 8 Nov 2018 10:03:30 -0800 Subject: [PATCH] test: fix flaky test-vm-timeout-escape-nexttick MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Increase the VM timeout. If it is too small, the VM does not exit before the code has a chance to create the problematic condition that causes the timeout to be ignored. Fixes: https://github.com/nodejs/node/issues/24120 PR-URL: https://github.com/nodejs/node/pull/24251 Reviewed-By: Refael Ackermann Reviewed-By: Richard Lau Reviewed-By: Michaƫl Zasso --- test/known_issues/test-vm-timeout-escape-nexttick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/known_issues/test-vm-timeout-escape-nexttick.js b/test/known_issues/test-vm-timeout-escape-nexttick.js index 8afe2fb8cebb15..c888c7f6466fa8 100644 --- a/test/known_issues/test-vm-timeout-escape-nexttick.js +++ b/test/known_issues/test-vm-timeout-escape-nexttick.js @@ -33,7 +33,7 @@ assert.throws(() => { nextTick, loop }, - { timeout: 5 } + { timeout: 10 } ); }, { code: 'ERR_SCRIPT_EXECUTION_TIMEOUT',