Merge pull request #9696 from wainersm/skip_custom_dns_test

tests/k8s: skip custom DNS tests on confidential jobs
This commit is contained in:
Fabiano Fidêncio 2024-05-22 23:57:21 +02:00 committed by GitHub
commit d9ee950d8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,9 +7,11 @@
load "${BATS_TEST_DIRNAME}/../../common.bash"
load "${BATS_TEST_DIRNAME}/tests_common.sh"
load "${BATS_TEST_DIRNAME}/confidential_common.sh"
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"
file_name="/etc/resolv.conf"
@ -39,7 +41,8 @@ setup() {
}
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
kubectl describe "pod/$pod_name"