From 8bcb174d03f045b99a3c46a81af750704d273762 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 76aa6ea31afe4d..11c2ced15bf782 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