[Calico] Create a special mark for CI tests
Added a new mark 'calico_ci' which is going to
be used for tests execution by Calico CI pipelines.
Change-Id: I2b0cdaa06d5604f845325124db8ce1b75576b835
Reviewed-on: https://review.gerrithub.io/367553
Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com>
Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
Reviewed-by: Tatyanka Leontovich <tleontovich@mirantis.com>
Tested-by: Tatyanka Leontovich <tleontovich@mirantis.com>
diff --git a/tcp_tests/tests/system/test_calico.py b/tcp_tests/tests/system/test_calico.py
index f174c9f..0408bd8 100644
--- a/tcp_tests/tests/system/test_calico.py
+++ b/tcp_tests/tests/system/test_calico.py
@@ -26,6 +26,7 @@
"""Test class for Calico network provider in k8s"""
@pytest.mark.fail_snapshot
+ @pytest.mark.calico_ci
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
@@ -60,6 +61,7 @@
timeout=300)
@pytest.mark.fail_snapshot
+ @pytest.mark.calico_ci
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,9 @@
netchecker.wait_check_network(k8sclient, works=True)
@pytest.mark.fail_snapshot
+ # FIXME(apanchenko): uncomment as soon as the following bug is fixed
+ # FIXME(apanchenko): https://mirantis.jira.com/browse/PROD-12532
+ #@pytest.mark.calico_ci
def test_calico_network_policies(self, show_step, config, underlay,
k8s_deployed):
"""Test for deploying k8s environment with Calico and check