Skip to content

test: add more valid results to test-trace-atomics-wait

The two starting Atomics.wait() operations are not ordered, but the test assumed a specific ordering because of the latency that comes with spinning up a Worker thread.

Add variants of the existing potential valid results that account for the reverse ordering.

Fixes: https://github.com/nodejs/node/issues/35059

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading