Fix IdleNotificationFinishMarking test on slow devices.
authorhpayer@chromium.org <hpayer@chromium.org>
Mon, 13 Oct 2014 18:54:20 +0000 (18:54 +0000)
committerhpayer@chromium.org <hpayer@chromium.org>
Mon, 13 Oct 2014 18:54:20 +0000 (18:54 +0000)
BUG=
TBR=ulan@chromium.org

Review URL: https://codereview.chromium.org/641533004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24569 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-heap.cc

index 969fd88..e2c2ca6 100644 (file)
@@ -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);
 }