Skip to content

Commit 8300607

Browse files
author
Aleksei Shabanov
committed
remove dead locking tests
1 parent 8fae827 commit 8300607

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_oml/test_ddp/test_loader_patcher.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# type: ignore
2-
import os
32
from itertools import chain
43
from math import ceil
54
from random import randint
@@ -18,7 +17,7 @@
1817
from .utils import run_in_ddp
1918

2019

21-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="This test has tendency to fail on CI machines.")
20+
@pytest.mark.skip(reason="Dead locks may appear when running in CI")
2221
@pytest.mark.long
2322
@pytest.mark.parametrize("n_labels_sampler", [2, 5])
2423
@pytest.mark.parametrize("n_instances_sampler", [2, 5])
@@ -157,7 +156,7 @@ def check_patching_balance_batch_sampler(
157156
assert len(set(outputs_from_epochs)) == len(outputs_from_epochs)
158157

159158

160-
@pytest.mark.skipif(os.getenv("GITHUB_ACTIONS") == "true", reason="This test has tendency to fail on CI machines.")
159+
@pytest.mark.skip(reason="Dead locks may appear when running in CI")
161160
@pytest.mark.long
162161
@pytest.mark.parametrize("shuffle", [True, False])
163162
@pytest.mark.parametrize("drop_last", [True, False])

0 commit comments

Comments
 (0)