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 <dmihai@microsoft.com>
This commit is contained in:
Dan Mihai 2025-02-05 23:04:29 +00:00
parent 429b2654f4
commit 47ce5dad9d

View File

@ -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