Index: test/cctest/test-thread-termination.cc |
diff --git a/test/cctest/test-thread-termination.cc b/test/cctest/test-thread-termination.cc |
index 85dfd13b602fa9abb0294f0772cdbc98bed1a6c3..05a3c3339e48d9acf25b7b60c6006fc9f00e3bbd 100644 |
--- a/test/cctest/test-thread-termination.cc |
+++ b/test/cctest/test-thread-termination.cc |
@@ -403,7 +403,7 @@ |
thread.Start(); |
v8::Isolate* isolate = CcTest::isolate(); |
- isolate->SetMicrotasksPolicy(v8::MicrotasksPolicy::kExplicit); |
+ isolate->SetAutorunMicrotasks(false); |
v8::HandleScope scope(isolate); |
v8::Local<v8::ObjectTemplate> global = |
CreateGlobalTemplate(CcTest::isolate(), Signal, DoLoop); |