Mark k8s system tests with k8s_system mark
Change-Id: I0a1cb7e30648bdf9fd4f89c62fe08661b28c0117
Related-PROD: PROD-28588
diff --git a/tcp_tests/tests/system/test_calico.py b/tcp_tests/tests/system/test_calico.py
index 6399eb3..50d0005 100644
--- a/tcp_tests/tests/system/test_calico.py
+++ b/tcp_tests/tests/system/test_calico.py
@@ -29,6 +29,7 @@
"""
@pytest.mark.fail_snapshot
+ @pytest.mark.k8s_system
def test_k8s_netchecker_calico(self, show_step, config, k8s_deployed):
"""Test for deploying k8s environment with Calico plugin and check
network connectivity between different pods by k8s-netchecker
@@ -50,6 +51,7 @@
@pytest.mark.calico_ci
@pytest.mark.cz8116
@pytest.mark.k8s_calico
+ @pytest.mark.k8s_system
def test_calico_route_recovery(self, show_step, config, underlay,
k8s_deployed):
"""Test for deploying k8s environment with Calico plugin and check
@@ -146,6 +148,7 @@
@pytest.mark.fail_snapshot
@pytest.mark.calico_ci
+ @pytest.mark.k8s_system
def test_calico_network_policies(self, show_step, config, underlay,
k8s_deployed):
"""Test for deploying k8s environment with Calico and check
diff --git a/tcp_tests/tests/system/test_failover_k8s.py b/tcp_tests/tests/system/test_failover_k8s.py
index 7382bb9..60ac4a7 100644
--- a/tcp_tests/tests/system/test_failover_k8s.py
+++ b/tcp_tests/tests/system/test_failover_k8s.py
@@ -23,6 +23,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
+ @pytest.mark.k8s_system
def test_k8s_master_vip_migration(self, show_step, k8s_deployed, underlay,
k8s_actions, core_actions,
config, hardware):
diff --git a/tcp_tests/tests/system/test_k8s_actions.py b/tcp_tests/tests/system/test_k8s_actions.py
index d12fffc..c93e152 100644
--- a/tcp_tests/tests/system/test_k8s_actions.py
+++ b/tcp_tests/tests/system/test_k8s_actions.py
@@ -38,6 +38,7 @@
@pytest.mark.fail_snapshot
@pytest.mark.cz8116
@pytest.mark.k8s_calico
+ @pytest.mark.k8s_system
def test_k8s_externaldns_coredns(self, show_step, config, k8s_deployed):
"""Test externaldns integration with coredns
@@ -144,6 +145,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
@pytest.mark.k8s_metallb
+ @pytest.mark.k8s_system
def test_k8s_metallb(self, show_step, config, k8s_deployed):
"""Enable metallb in cluster and do basic tests
@@ -199,6 +201,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
@pytest.mark.k8s_genie
+ @pytest.mark.k8s_system
def test_k8s_genie_flannel(self, show_step, config,
salt_deployed, k8s_deployed):
"""Test genie-cni+flannel cni setup
@@ -318,6 +321,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
@pytest.mark.k8s_dashboard
+ @pytest.mark.k8s_system
def test_k8s_dashboard(self, show_step, config,
salt_deployed, k8s_deployed):
"""Test dashboard setup
@@ -394,6 +398,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
@pytest.mark.k8s_ingress_nginx
+ @pytest.mark.k8s_system
def test_k8s_ingress_nginx(self, show_step, config,
salt_deployed, k8s_deployed):
"""Test ingress-nginx configured and working with metallb
diff --git a/tcp_tests/tests/system/test_virtlet_actions.py b/tcp_tests/tests/system/test_virtlet_actions.py
index 9ca2fe6..9b7c366 100644
--- a/tcp_tests/tests/system/test_virtlet_actions.py
+++ b/tcp_tests/tests/system/test_virtlet_actions.py
@@ -26,6 +26,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
@pytest.mark.k8s_virtlet
+ @pytest.mark.k8s_system
def test_virtlet_create_delete_vm(self, show_step, config, k8s_deployed):
"""Test for deploying an mcp environment with virtlet
@@ -53,6 +54,7 @@
@pytest.mark.grab_versions
@pytest.mark.fail_snapshot
@pytest.mark.k8s_virtlet
+ @pytest.mark.k8s_system
def test_vm_resource_quotas(self, show_step, config, k8s_deployed):
"""Test for deploying a VM with specific quotas