Commit c7149e50 authored by hpayer@chromium.org's avatar hpayer@chromium.org

Fix IdleNotificationFinishMarking test on slow devices.

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
parent 25dbc247
...@@ -2219,8 +2219,8 @@ TEST(IdleNotificationFinishMarking) { ...@@ -2219,8 +2219,8 @@ TEST(IdleNotificationFinishMarking) {
} }
// The next idle notification has to finish incremental marking. // The next idle notification has to finish incremental marking.
const int kShortIdleTimeInMs = 1; const int kLongIdleTime = 1000000;
CcTest::isolate()->IdleNotification(kShortIdleTimeInMs); CcTest::isolate()->IdleNotification(kLongIdleTime);
CHECK_EQ(CcTest::heap()->gc_count(), 1); CHECK_EQ(CcTest::heap()->gc_count(), 1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment