mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-08 11:27:29 +00:00
tests: Skip k8s job test on qemu-coco-dev
The tests is unstable on this platform, so skip it for now to prevent the regular known failures covering up other issues. See #10616 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
9e609dd34f
commit
a8ccd9a2ac
@ -9,6 +9,8 @@ load "${BATS_TEST_DIRNAME}/../../common.bash"
|
|||||||
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
[ "${KATA_HYPERVISOR}" = "qemu-coco-dev" ] || skip "Test not stable on qemu-coco-dev. See issue #10616"
|
||||||
|
|
||||||
get_pod_config_dir
|
get_pod_config_dir
|
||||||
job_name="job-pi-test"
|
job_name="job-pi-test"
|
||||||
yaml_file="${pod_config_dir}/job.yaml"
|
yaml_file="${pod_config_dir}/job.yaml"
|
||||||
@ -38,6 +40,8 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
[ "${KATA_HYPERVISOR}" = "qemu-coco-dev" ] || skip "Test not ready yet for ${KATA_HYPERVISOR}"
|
||||||
|
|
||||||
# Debugging information
|
# Debugging information
|
||||||
kubectl describe pod "$pod_name"
|
kubectl describe pod "$pod_name"
|
||||||
kubectl describe jobs/"$job_name"
|
kubectl describe jobs/"$job_name"
|
||||||
|
Loading…
Reference in New Issue
Block a user