Skip to content

Commit 90414bb

Browse files
authored
Add a skip_on_disconnected marker for tests that cannot run on disconnected clusters (#576)
* feat: add a connected_env_only marker for tests that cannot run on disconnected * fix: rename connected_env_only to skip_on_disconnected
1 parent 556e126 commit 90414bb

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ markers =
66
# General
77
polarion: Store polarion test ID
88
jira: Store jira bug ID
9+
skip_on_disconnected: Mark tests that can only be run in deployments with Internet access i.e. not on disconnected clusters.
910

1011
# CI
1112
smoke: Mark tests as smoke tests; covers core functionality of the product. Aims to ensure that the build is stable enough for further testing.

tests/model_explainability/lm_eval/test_lm_eval.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
)
1616

1717

18+
@pytest.mark.skip_on_disconnected
1819
@pytest.mark.parametrize(
1920
"model_namespace, lmevaljob_hf",
2021
[

0 commit comments

Comments
 (0)