Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index de77855d5e521ea82cba4cbb0369107cd436dc3e..9c87e63df877d38b18bb604ee13f902443bbe6cc 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -20317,7 +20317,7 @@ class InitDefaultIsolateThread : public v8::base::Thread { |
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
switch (testCase_) { |
case SetResourceConstraints: { |
- create_params.constraints.set_max_semi_space_size(1); |
+ create_params.constraints.set_max_semi_space_size_in_kb(1024); |
create_params.constraints.set_max_old_space_size(6); |
break; |
} |