diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 377eb94652c..35fda991f21 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -3431,7 +3431,7 @@ class ModuleRunnerBase : public ExpressionRunner { if (timeout.getSingleValue().getInteger() != 0) { hostLimit("threads support"); } - return Literal(int32_t(0)); // equal + return Literal(int32_t(2)); // Timed out } Flow visitAtomicNotify(AtomicNotify* curr) { NOTE_ENTER("AtomicNotify"); diff --git a/test/lit/exec/atomic.wast b/test/lit/exec/atomic.wast index 73567121ff2..631bdd53174 100644 --- a/test/lit/exec/atomic.wast +++ b/test/lit/exec/atomic.wast @@ -8,7 +8,7 @@ (memory $0 23 256 shared) ;; CHECK: [fuzz-exec] calling wait_and_log - ;; CHECK-NEXT: [LoggingExternalInterface logging 0] + ;; CHECK-NEXT: [LoggingExternalInterface logging 2] (func $wait_and_log (export "wait_and_log") (call $log (memory.atomic.wait64