From ff75023812ad49b019d635c7ef815cd82593a63e Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 22 Feb 2016 22:14:32 -0800 Subject: [PATCH] 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 Reviewed-By: Jeremiah Senkpiel --- test/timers/test-timers-reliability.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/timers/test-timers-reliability.js b/test/timers/test-timers-reliability.js index 76aa6ea31a..11c2ced15b 100644 --- a/test/timers/test-timers-reliability.js +++ b/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