Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index ae3c1d365c4a3368d0f3ebdfafba323f342c7171..719a6c76b73cefe306cbbd2f93681443ccedf9c7 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -4878,7 +4878,7 @@ TEST(ArrayShiftSweeping) { |
UNINITIALIZED_TEST(PromotionQueue) { |
i::FLAG_expose_gc = true; |
- i::FLAG_max_semi_space_size = 2; |
+ i::FLAG_max_semi_space_size = 2 * (Page::kPageSize / MB); |
v8::Isolate* isolate = v8::Isolate::New(); |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
{ |