Skip to content
Permalink
Browse files

test, bugfix: timer test case error on arm Linux.

  • Loading branch information...
xicilion committed Apr 29, 2019
1 parent ca205e9 commit f7cbae9f06cce34932367071c6a01f848beaae67
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/timer_test.js
@@ -390,6 +390,8 @@ describe("timer", () => {
GC();
var no1 = test_util.countObject('Timer');

var t = setHrInterval(() => n++, Math.pow(2, 31) - 1);

setHrInterval(function () {
n++;
clearHrInterval(this);
@@ -402,8 +404,6 @@ describe("timer", () => {
assert.isTrue(this.stopped);
}, Math.pow(2, 31));

var t = setHrInterval(() => n++, Math.pow(2, 31) - 1);

assert.equal(n, 0);
deadLoop(100);
assert.equal(n, 2);

0 comments on commit f7cbae9

Please sign in to comment.
You can’t perform that action at this time.