Commit 25f93f3
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: #35059
PR-URL: #35066
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent fb89be6 commit 25f93f3Copy full SHA for 25f93f3
File tree
Expand file treeCollapse file tree
1 file changed
+12
-1
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+12
-1
lines changedOpen diff view settings
Collapse file
test/parallel/test-trace-atomics-wait.js
Copy file name to clipboardExpand all lines: test/parallel/test-trace-atomics-wait.js+12-1Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
57 | 62 | |
58 | 63 | |
59 | 64 | |
| ||
71 | 76 | |
72 | 77 | |
73 | 78 | |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
74 | 85 | |
75 | 86 | |
76 | 87 | |
77 | 88 | |
78 | 89 | |
79 | 90 | |
80 | 91 | |
81 | | - |
| 92 | + |
82 | 93 | |
83 | 94 | |
84 | 95 | |
0 commit comments