Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index d7043c2ce5a65b652c3a7666edc15d56a3ccb2e0..1ac0adde0f78cc65e75930387580f59a0227cbd7 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -50,6 +50,7 @@ |
// allocations succeed. |
// New space. |
+ SimulateFullSpace(heap->new_space()); |
heap->AllocateByteArray(100).ToObjectChecked(); |
heap->AllocateFixedArray(100, NOT_TENURED).ToObjectChecked(); |