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
This commit is contained in:
hpayer@chromium.org 2014-10-13 18:54:20 +00:00
parent 25dbc2476c
commit c7149e50a3

View File

@ -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);
} }