Index: test/unittests/heap/gc-idle-time-handler-unittest.cc |
diff --git a/test/unittests/heap/gc-idle-time-handler-unittest.cc b/test/unittests/heap/gc-idle-time-handler-unittest.cc |
index 2076e604faa06d92e29e499c5d12a5eae4420694..b5f59bd5108f1792c24a70ece5499d97f3954c8d 100644 |
--- a/test/unittests/heap/gc-idle-time-handler-unittest.cc |
+++ b/test/unittests/heap/gc-idle-time-handler-unittest.cc |
@@ -168,7 +168,7 @@ TEST_F(GCIdleTimeHandlerTest, DoScavengeHighScavengeSpeed) { |
TEST_F(GCIdleTimeHandlerTest, ShouldDoMarkCompact) { |
- size_t idle_time_in_ms = 16; |
+ size_t idle_time_in_ms = GCIdleTimeHandler::kMaxScheduledIdleTime; |
EXPECT_TRUE(GCIdleTimeHandler::ShouldDoMarkCompact(idle_time_in_ms, 0, 0)); |
} |