diff options
author | Rich Trott <rtrott@gmail.com> | 2018-11-08 21:03:30 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-09 15:50:14 +0300 |
commit | a4a2e9f73746e72655f276b2a3638a50e9a9c4d9 (patch) | |
tree | 35eb56574b06484707f9383530bf8a950bf191db /test/known_issues | |
parent | 22f3ff9617019dc926e848498117fe04956f11f3 (diff) |
test: fix flaky test-vm-timeout-escape-nexttick
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 <refack@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/known_issues')
-rw-r--r-- | test/known_issues/test-vm-timeout-escape-nexttick.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/known_issues/test-vm-timeout-escape-nexttick.js b/test/known_issues/test-vm-timeout-escape-nexttick.js index 814da178fb2..40937c96d91 100644 --- a/test/known_issues/test-vm-timeout-escape-nexttick.js +++ b/test/known_issues/test-vm-timeout-escape-nexttick.js @@ -35,7 +35,7 @@ assert.throws(() => { nextTick, loop }, - { timeout: common.platformTimeout(5) } + { timeout: common.platformTimeout(10) } ); }, { code: 'ERR_SCRIPT_EXECUTION_TIMEOUT' |