test: fix race condition in unrefd interval test
authorMichael Cornacchia <cornacch@ca.ibm.com>
Tue, 27 Oct 2015 16:55:09 +0000 (12:55 -0400)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:12 +0000 (11:52 -0800)
commit166523d0ed658bc7241a9c83ab0d48634d028d0c
treefaa59f4e53ad6e8f81e6e19b3c2b2a7c05f79088
parent1f78bff7ce0501c02500a3a5e923fd13727359ec
test: fix race condition in unrefd interval test

Rely more on timers implementation rather than arbitrary timeouts.

Refs: https://github.com/nodejs/node/issues/1781
PR-URL: https://github.com/nodejs/node/pull/3550

Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
test/parallel/test-timers-unrefd-interval-still-fires.js