mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
test: fix flaky test-trace-atomics-wait
This adds a possible ordering of the trace events that was missing from the list previously. Fixes: https://github.com/nodejs/node/issues/33427 PR-URL: https://github.com/nodejs/node/pull/33428 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
c5719eb265
commit
f251533335
@ -59,6 +59,11 @@ const expectedTimelines = [
|
||||
[Thread 0] Atomics.wait(<address> + 4, 0, inf) started
|
||||
[Thread 0] Atomics.wait(<address> + 4, 0, inf) was woken up by another thread
|
||||
[Thread 1] Atomics.wait(<address> + 4, -1, inf) started
|
||||
[Thread 1] Atomics.wait(<address> + 4, -1, inf) was woken up by another thread`,
|
||||
`${begin}
|
||||
[Thread 0] Atomics.wait(<address> + 4, 0, inf) started
|
||||
[Thread 0] Atomics.wait(<address> + 4, 0, inf) was woken up by another thread
|
||||
[Thread 1] Atomics.wait(<address> + 4, -1, inf) started
|
||||
[Thread 1] Atomics.wait(<address> + 4, -1, inf) did not wait because the \
|
||||
values mismatched`,
|
||||
`${begin}
|
||||
|
Loading…
Reference in New Issue
Block a user