From 47e9b25920e5b7aecfcca29f1975a5bd7bf05a63 Mon Sep 17 00:00:00 2001 From: Valerii Ponomarov Date: Wed, 16 Nov 2022 17:53:54 +0200 Subject: [PATCH] fix(k8s-functional): skip flush-and-reshard test for non-eks backends The 'test_nodetool_flush_and_reshard' test is affected by the following bug: https://github.com/scylladb/scylla-operator/issues/1077 using non-fast K8S backends such as 'k8s-gke' and 'k8s-local-kind'. So, skip it on the slow backends. --- functional_tests/scylla_operator/test_functional.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functional_tests/scylla_operator/test_functional.py b/functional_tests/scylla_operator/test_functional.py index b1f7b11b3c..52cc2f3991 100644 --- a/functional_tests/scylla_operator/test_functional.py +++ b/functional_tests/scylla_operator/test_functional.py @@ -693,6 +693,9 @@ def test_default_dns_policy(db_cluster: ScyllaPodCluster): f"Pods: {yaml.safe_dump(pods_with_wrong_dns_policy, indent=2)}") +# NOTE: non-fast K8S backends such as 'k8s-gke' and 'k8s-local-kind' are affected by following bug: +# https://github.com/scylladb/scylla-operator/issues/1077 +@pytest.mark.requires_backend("k8s-eks") def test_nodetool_flush_and_reshard(db_cluster: ScyllaPodCluster): target_node = db_cluster.nodes[0]