Skip to content

test: fix race condition in unrefd interval test

Rodrigo Muino Tomonari requested to merge github/fork/mcornac/nodejs-master into master

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 (closed).

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

Merge request reports

Loading