Browse Source

test: fix test-timers.reliability on OS X

Fixes: https://github.com/nodejs/node/issues/4404
PR-URL: https://github.com/nodejs/node/pull/5379
Reviewed-By: Julien Gilli <jgilli@fastmail.fm>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
v5.x
Rich Trott 9 years ago
committed by Rod Vagg
parent
commit
ff75023812
  1. 2
      test/timers/test-timers-reliability.js

2
test/timers/test-timers-reliability.js

@ -32,7 +32,7 @@ var intervalFired = false;
*/
var monoTimer = new Timer();
monoTimer.ontimeout = function() {
monoTimer[Timer.kOnTimeout] = function() {
/*
* Make sure that setTimeout's and setInterval's callbacks have
* already fired, otherwise it means that they are vulnerable to

Loading…
Cancel
Save