Merge pull request #10842 from microsoft/danmihai1/disable-job-policy-test

tests: disable k8s-policy-job.bats on coco-dev
This commit is contained in:
Dan Mihai 2025-02-06 09:09:49 -08:00 committed by GitHub
commit fdf3088be0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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