From: Rich Trott Date: Tue, 23 Feb 2016 06:14:32 +0000 (-0800) Subject: test: fix test-timers.reliability on OS X X-Git-Tag: v4.4.1~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4fbe045149a927bbf5833efd53c907d0f886885;p=platform%2Fupstream%2Fnodejs.git 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 --- diff --git a/test/timers/test-timers-reliability.js b/test/timers/test-timers-reliability.js index 76aa6ea..11c2ced 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