Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 71f9ac5b3f0c987058b568d30d3ceab2d8cd4c73..da3ccb9273c0557ac39f6485d521dd166f9aebb0 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1312,8 +1312,8 @@ TEST(IdleNotificationAdvancesIncrementalMarking) { |
CompileRun(source); |
} |
intptr_t old_size = HEAP->SizeOfObjects(); |
- bool no_idle_work = v8::V8::IdleNotification(); |
- while (!v8::V8::IdleNotification()) ; |
+ bool no_idle_work = v8::V8::IdleNotification(900); |
+ while (!v8::V8::IdleNotification(900)) ; |
intptr_t new_size = HEAP->SizeOfObjects(); |
CHECK(no_idle_work || new_size < 3 * old_size / 4); |
} |