From 47ce5dad9dda2ce7ac9719c33818b14adc862ace Mon Sep 17 00:00:00 2001 From: Dan Mihai Date: Wed, 5 Feb 2025 23:04:29 +0000 Subject: [PATCH] tests: disable k8s-policy-job.bats on coco-dev k8s-policy-job is modeled after the older k8s-job, and it appears that both of them fail occasionally on coco-dev. Signed-off-by: Dan Mihai --- tests/integration/kubernetes/k8s-policy-job.bats | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/integration/kubernetes/k8s-policy-job.bats b/tests/integration/kubernetes/k8s-policy-job.bats index e3b7070fac..60caaae260 100644 --- a/tests/integration/kubernetes/k8s-policy-job.bats +++ b/tests/integration/kubernetes/k8s-policy-job.bats @@ -9,6 +9,10 @@ load "${BATS_TEST_DIRNAME}/../../common.bash" load "${BATS_TEST_DIRNAME}/tests_common.sh" setup() { + if [ "${KATA_HYPERVISOR}" == "qemu-coco-dev" ]; then + skip "Test not stable on qemu-coco-dev. See issue #10616" + fi + auto_generate_policy_enabled || skip "Auto-generated policy tests are disabled." get_pod_config_dir @@ -141,6 +145,10 @@ test_job_policy_error() { } teardown() { + if [ "${KATA_HYPERVISOR}" == "qemu-coco-dev" ]; then + skip "Test not stable on qemu-coco-dev. See issue #10616" + fi + auto_generate_policy_enabled || skip "Auto-generated policy tests are disabled." # Debugging information