Skip to content

test: fix race condition in unrefd interval test#3550

Closed
mcornac wants to merge 2 commits intonodejs:masterfrom
mcornac:nodejs-master
Closed

test: fix race condition in unrefd interval test#3550
mcornac wants to merge 2 commits intonodejs:masterfrom
mcornac:nodejs-master

Conversation

@mcornac
Copy link
Contributor

@mcornac mcornac commented Oct 27, 2015

Before this commit, test-timers-unrefd-interval-still-fire required a
1ms interval to fire 5 times before a 100ms timeout to pass which could
cause intermittent failures in CI and in issue #1781.

This commit gives the test up to 5x as long to complete while allowing
the test to complete as quickly as before when possible.
cc @mhdawson

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues and PRs related to the tests. timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants