Skip to content

Commit 5f85df2

Browse files
authored
Remove avoid_ci mark (#9275)
1 parent be7cbd7 commit 5f85df2

6 files changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ jobs:
236236
mkdir reports
237237
238238
python -m pytest distributed \
239-
-m "not avoid_ci and ${{ matrix.partition }}" --runslow \
239+
-m "${{ matrix.partition }}" --runslow \
240240
--leaks=fds,processes,threads \
241241
--junitxml reports/pytest.xml -o junit_suite_name=$TEST_ID \
242242
--cov=distributed --cov-report=xml \

distributed/deploy/tests/test_old_ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
)
1818

1919

20-
@pytest.mark.avoid_ci
20+
@pytest.mark.skip
2121
def test_cluster(loop):
2222
with SSHCluster(
2323
scheduler_addr="127.0.0.1",

distributed/deploy/tests/test_ssh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async def test_keywords():
105105
assert all(v["nthreads"] == 2 for v in d.values())
106106

107107

108-
@pytest.mark.avoid_ci
108+
@pytest.mark.xfail(reason="Very flaky (leaks resources)", strict=False)
109109
def test_defer_to_old(loop):
110110
with pytest.warns(
111111
UserWarning,
@@ -124,7 +124,7 @@ def test_defer_to_old(loop):
124124
assert isinstance(c, OldSSHCluster)
125125

126126

127-
@pytest.mark.avoid_ci
127+
@pytest.mark.skip
128128
def test_old_ssh_with_local_dir(loop):
129129
from distributed.deploy.old_ssh import SSHCluster as OldSSHCluster
130130

distributed/tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7950,7 +7950,7 @@ async def test_security_loader_import_failed(self):
79507950
pass
79517951

79527952

7953-
@pytest.mark.avoid_ci(reason="This is slow and probably not worth the cost")
7953+
@pytest.mark.skip(reason="This is very slow and probably not worth the cost")
79547954
@pytest.mark.slow
79557955
@gen_cluster(client=True)
79567956
async def test_benchmark_hardware(c, s, a, b):

distributed/tests/test_stress.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ def vsum(*args):
175175

176176

177177
@pytest.mark.skip(reason="times out")
178-
@pytest.mark.avoid_ci
179178
@pytest.mark.slow
180179
@gen_cluster(
181180
client=True,

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ markers = [
181181
"ci1: marks tests as belonging to 1 out of 2 partitions to run on CI ('-m \"not ci1\"' for second partition)",
182182
"memray: marks tests that require memray to run (available on Linux/MacOS only)",
183183
"slow: marks tests as slow (deselected by default; select with '--runslow')",
184-
"avoid_ci: marks tests as flaky or broken on CI on all OSs",
185184
"ipython: marks tests as exercising IPython",
186185
"gpu: marks tests we want to run on GPUs",
187186
"leaking: ignore leaked resources", # see pytest_resourceleaks.py for usage

0 commit comments

Comments
 (0)