Skip to content

Commit 66fab9d

Browse files
MatteoStifanoJenkins
authored andcommitted
medium-chain: Drop skipped tests
Some composition tests fail the MC job due to 'Package contains faked artifacts!'. Indeed, no artifacts are built in the MC jobs. Here we drop such tests from the MC selection. Change-Id: I0da4acbfbda68b0254949fcafbf20848b0aa1a7b
1 parent 6978ac1 commit 66fab9d

5 files changed

Lines changed: 0 additions & 9 deletions

File tree

tests/composition/agents/test_cmk_agent_ctl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515
pytestmark = pytest.mark.skip_if_faked_artifacts
1616

1717

18-
@pytest.mark.medium_test_chain
1918
@pytest.mark.skip_if_not_containerized
2019
def test_agent_controller_installed(agent_ctl: Path) -> None:
2120
res = run([agent_ctl.as_posix(), "--help"])
2221
assert "Checkmk agent controller.\n\nUsage:" in res.stdout
2322

2423

25-
@pytest.mark.medium_test_chain
2624
@pytest.mark.skip_if_not_containerized
2725
def test_dump(agent_ctl: Path) -> None:
2826
res = run([agent_ctl.as_posix(), "dump"], sudo=True)

tests/composition/controller_site_interactions/test_proxy_register_import_workflow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
logger = logging.getLogger(__name__)
1717

1818

19-
@pytest.mark.medium_test_chain
2019
@pytest.mark.skip_if_faked_artifacts
2120
@pytest.mark.skip_if_not_containerized
2221
def test_proxy_register_import_workflow(

tests/composition/controller_site_interactions/test_register_workflow.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def _test_register_workflow(
5353
site.openapi.changes.activate_and_wait_for_completion(force_foreign_changes=True)
5454

5555

56-
@pytest.mark.medium_test_chain
5756
@pytest.mark.skip_if_not_containerized
5857
def test_register_workflow_pull(
5958
central_site: Site,
@@ -67,7 +66,6 @@ def test_register_workflow_pull(
6766
)
6867

6968

70-
@pytest.mark.medium_test_chain
7169
@pytest.mark.skip_if_not_containerized
7270
@pytest.mark.skip_if_not_edition("ultimate", "ultimatemt")
7371
def test_register_workflow_push(

tests/composition/controller_site_interactions/test_rename_preserves_registration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def _test_rename_preserves_registration(
5858
central_site.openapi.changes.activate_and_wait_for_completion(force_foreign_changes=True)
5959

6060

61-
@pytest.mark.medium_test_chain
6261
@pytest.mark.skip_if_not_containerized
6362
def test_rename_preserves_registration_central(
6463
central_site: Site,
@@ -72,7 +71,6 @@ def test_rename_preserves_registration_central(
7271
)
7372

7473

75-
@pytest.mark.medium_test_chain
7674
@pytest.mark.skip_if_not_containerized
7775
def test_rename_preserves_registration_remote(
7876
central_site: Site,

tests/composition/controller_site_interactions/test_status.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def _get_status_output_json(
4646
site.openapi.changes.activate_and_wait_for_completion(force_foreign_changes=True)
4747

4848

49-
@pytest.mark.medium_test_chain
5049
@pytest.mark.skip_if_not_containerized
5150
def test_status_pull(
5251
central_site: Site,
@@ -70,7 +69,6 @@ def test_status_pull(
7069
)
7170

7271

73-
@pytest.mark.medium_test_chain
7472
@pytest.mark.skip_if_not_containerized
7573
@pytest.mark.skip_if_not_edition("ultimate", "ultimatemt")
7674
def test_status_push(

0 commit comments

Comments
 (0)