diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc index 969fd8824d..e2c2ca607c 100644 --- a/test/cctest/test-heap.cc +++ b/test/cctest/test-heap.cc @@ -2219,8 +2219,8 @@ TEST(IdleNotificationFinishMarking) { } // The next idle notification has to finish incremental marking. - const int kShortIdleTimeInMs = 1; - CcTest::isolate()->IdleNotification(kShortIdleTimeInMs); + const int kLongIdleTime = 1000000; + CcTest::isolate()->IdleNotification(kLongIdleTime); CHECK_EQ(CcTest::heap()->gc_count(), 1); }