Skip to content

Commit a1fe073

Browse files
committed
test: refine ignore conditions
Signed-off-by: Jérôme Benoit <[email protected]>
1 parent abf3127 commit a1fe073

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/pools/selection-strategies/selection-strategies.test.mjs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1679,7 +1679,8 @@ describe('Selection strategies test suite', () => {
16791679

16801680
it({
16811681
name: 'Verify WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool',
1682-
ignore: Deno.build.os === 'linux',
1682+
ignore: Deno.build.os === 'linux' &&
1683+
parseInt(Deno.version.deno.split('.')[0]) >= 2,
16831684
fn: async () => {
16841685
const pool = new DynamicThreadPool(
16851686
min,
@@ -1768,7 +1769,8 @@ describe('Selection strategies test suite', () => {
17681769
it({
17691770
name:
17701771
'Verify WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool with median runtime statistic',
1771-
ignore: Deno.build.os === 'linux',
1772+
ignore: Deno.build.os === 'linux' &&
1773+
parseInt(Deno.version.deno.split('.')[0]) >= 2,
17721774
fn: async () => {
17731775
const pool = new DynamicThreadPool(
17741776
min,
@@ -2117,7 +2119,8 @@ describe('Selection strategies test suite', () => {
21172119
it({
21182120
name:
21192121
'Verify INTERLEAVED_WEIGHTED_ROUND_ROBIN strategy can be run in a dynamic pool',
2120-
ignore: Deno.build.os === 'linux',
2122+
ignore: Deno.build.os === 'linux' &&
2123+
parseInt(Deno.version.deno.split('.')[0]) >= 2,
21212124
fn: async () => {
21222125
const pool = new DynamicThreadPool(
21232126
min,

0 commit comments

Comments
 (0)