From 03a7cf4b02fba2e239f690368f536a702227bc76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 31 May 2024 09:59:46 +0200 Subject: [PATCH] ci: k8s: Skip empty dir tests also for TDX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wainer noticed this is failing for the coco-qemu-dev case, and decided to skip it, notifying me that he didn't fully understand why it was not failing on TDX. Turns out, though, this is also failing on TDX, and we need to skip it there as well. Signed-off-by: Fabiano FidĂȘncio --- tests/integration/kubernetes/k8s-empty-dirs.bats | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/integration/kubernetes/k8s-empty-dirs.bats b/tests/integration/kubernetes/k8s-empty-dirs.bats index 094418b5e7..55fe604bf9 100644 --- a/tests/integration/kubernetes/k8s-empty-dirs.bats +++ b/tests/integration/kubernetes/k8s-empty-dirs.bats @@ -18,6 +18,8 @@ assert_equal() { } setup() { + [ "${KATA_HYPERVISOR:-}" = "qemu-tdx" ] && \ + skip "This test has failed for ${KATA_HYPERVISOR:-}" [ "${KATA_HYPERVISOR:-}" = "qemu-coco-dev" ] && \ skip "This test has failed for ${KATA_HYPERVISOR:-}" pod_name="sharevol-kata" @@ -70,6 +72,8 @@ setup() { } teardown() { + [ "${KATA_HYPERVISOR:-}" = "qemu-tdx" ] && \ + skip "This test has failed for ${KATA_HYPERVISOR:-}" [ "${KATA_HYPERVISOR:-}" = "qemu-coco-dev" ] && \ skip "This test has failed for ${KATA_HYPERVISOR:-}" # Debugging information