Skip to content

Commit 5bd7a88

Browse files
committed
test: skip flaky test only the targeted OS
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent cbb7ee2 commit 5bd7a88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/pools/thread/dynamic.test.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,10 @@ describe({
181181
WorkerChoiceStrategies,
182182
)
183183
) {
184-
// Interleaved weighted round robin strategy makes that test flaky on CI
184+
// Interleaved weighted round robin strategy makes that test flaky on ubuntu-latest in the CI
185185
if (
186186
Deno.env.get('CI') != null &&
187+
Deno.build.os === 'linux' &&
187188
workerChoiceStrategy ===
188189
WorkerChoiceStrategies.INTERLEAVED_WEIGHTED_ROUND_ROBIN
189190
) {

0 commit comments

Comments
 (0)