mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-09 20:07:49 +00:00
tests: Fix qemu-coc-dev skip
Fix the logic to make the test skipped on qemu-coco-dev, rather than the opposite and update the syntax to make it clearer as it incorrectly got written and reviewed by three different people in it's prior form. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
79495379e2
commit
dd02b6699e
@ -9,7 +9,9 @@ load "${BATS_TEST_DIRNAME}/../../common.bash"
|
||||
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
||||
|
||||
setup() {
|
||||
[ "${KATA_HYPERVISOR}" = "qemu-coco-dev" ] || skip "Test not stable on qemu-coco-dev. See issue #10616"
|
||||
if [ "${KATA_HYPERVISOR}" == "qemu-coco-dev" ]; then
|
||||
skip "Test not stable on qemu-coco-dev. See issue #10616"
|
||||
fi
|
||||
|
||||
get_pod_config_dir
|
||||
job_name="job-pi-test"
|
||||
@ -40,7 +42,9 @@ setup() {
|
||||
}
|
||||
|
||||
teardown() {
|
||||
[ "${KATA_HYPERVISOR}" = "qemu-coco-dev" ] || skip "Test not ready yet for ${KATA_HYPERVISOR}"
|
||||
if [ "${KATA_HYPERVISOR}" == "qemu-coco-dev" ]; then
|
||||
skip "Test not stable on qemu-coco-dev. See issue #10616"
|
||||
fi
|
||||
|
||||
# Debugging information
|
||||
kubectl describe pod "$pod_name"
|
||||
|
Loading…
Reference in New Issue
Block a user