mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-08 03:24:15 +00:00
Merge pull request #9696 from wainersm/skip_custom_dns_test
tests/k8s: skip custom DNS tests on confidential jobs
This commit is contained in:
commit
d9ee950d8f
@ -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