mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-18 17:33:02 +00:00
tests/k8s: skip custom DNS tests on confidential jobs
This test has failed in confidential runtime jobs. Skip it until we don't have a fix. Fixes: #9663 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
parent
92101fc61f
commit
43766cdb96
@ -7,9 +7,11 @@
|
|||||||
|
|
||||||
load "${BATS_TEST_DIRNAME}/../../common.bash"
|
load "${BATS_TEST_DIRNAME}/../../common.bash"
|
||||||
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
load "${BATS_TEST_DIRNAME}/tests_common.sh"
|
||||||
|
load "${BATS_TEST_DIRNAME}/confidential_common.sh"
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
[ "${KATA_HYPERVISOR}" = "qemu-tdx" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/9663"
|
is_confidential_runtime_class && \
|
||||||
|
skip "See: https://github.com/kata-containers/kata-containers/issues/9663"
|
||||||
|
|
||||||
pod_name="custom-dns-test"
|
pod_name="custom-dns-test"
|
||||||
file_name="/etc/resolv.conf"
|
file_name="/etc/resolv.conf"
|
||||||
@ -39,7 +41,8 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
[ "${KATA_HYPERVISOR}" = "qemu-tdx" ] && skip "See: https://github.com/kata-containers/kata-containers/issues/9663"
|
is_confidential_runtime_class && \
|
||||||
|
skip "See: https://github.com/kata-containers/kata-containers/issues/9663"
|
||||||
|
|
||||||
# Debugging information
|
# Debugging information
|
||||||
kubectl describe "pod/$pod_name"
|
kubectl describe "pod/$pod_name"
|
||||||
|
Loading…
Reference in New Issue
Block a user