Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 5bfbd930a28f1e6810b189d74c8278a412ed7c60..cbc4d44dfe98399d1caeb6eb09d9f7ac59552895 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -25043,7 +25043,7 @@ TEST(FutexInterruption) { |
CompileRun( |
"var ab = new SharedArrayBuffer(4);" |
"var i32a = new Int32Array(ab);" |
- "Atomics.futexWait(i32a, 0, 0);"); |
+ "Atomics.wait(i32a, 0, 0);"); |
CHECK(try_catch.HasTerminated()); |
timeout_thread.Join(); |
} |