mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
tests/k8s: skip seccomp tests for qemu-coco-dev
This test fails with qemu-coco-dev configuration and guest-pull image pull. Unlike other tests that I've seen failing on this scenario, k8s-seccomp.bats fails after a couple of consecutive executions, so it's that kind of failure that happens once in a while. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
@@ -8,6 +8,8 @@ load "${BATS_TEST_DIRNAME}/../../common.bash"
|
||||
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
||||
|
||||
setup() {
|
||||
[ "${KATA_HYPERVISOR:-}" = "qemu-coco-dev" ] && \
|
||||
skip "This test fails intermittently for ${KATA_HYPERVISOR:-}"
|
||||
pod_name="seccomp-container"
|
||||
get_pod_config_dir
|
||||
|
||||
@@ -30,6 +32,8 @@ setup() {
|
||||
}
|
||||
|
||||
teardown() {
|
||||
[ "${KATA_HYPERVISOR:-}" = "qemu-coco-dev" ] && \
|
||||
skip "This test fails intermittently for ${KATA_HYPERVISOR:-}"
|
||||
# For debugging purpose
|
||||
echo "seccomp mode is ${seccomp_mode}, expected $expected_seccomp_mode"
|
||||
kubectl describe "pod/${pod_name}"
|
||||
|
Reference in New Issue
Block a user