Skip to content

Commit 45d819d

Browse files
authored
Skip ssh suggest next sub / ses test on CI. (#680)
* Skip the test on CI. * Fix typo in CI skip reason for SSH tests
1 parent 7e27a78 commit 45d819d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/tests_transfers/ssh/test_ssh_suggest_next.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os
12
import platform
23

34
import pytest
@@ -18,6 +19,10 @@
1819
reason="SSH tests are not run as docker is either not installed, "
1920
"running or current user is not in the docker group.",
2021
)
22+
@pytest.mark.skipif(
23+
os.getenv("CI") == "true",
24+
reason="Skipped on CI as sporadically failing there.",
25+
)
2126
class TestSSHDriveSuggestNext(BaseSSHTransfer, TuiBase):
2227
@pytest.fixture(
2328
scope="function",

0 commit comments

Comments
 (0)