mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-20 20:52:07 +00:00
tests: Disable k8s file volume test
This PR disables the k8s file volume test as we are having random failures in multiple GHA CIs mainly because the exec_host function sometimes does it not work properly. Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
parent
99730256a2
commit
e580e29246
@ -8,8 +8,10 @@
|
|||||||
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"
|
||||||
TEST_INITRD="${TEST_INITRD:-no}"
|
TEST_INITRD="${TEST_INITRD:-no}"
|
||||||
|
issue="https://github.com/kata-containers/kata-containers/issues/10081"
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
skip "test not working see: ${issue}"
|
||||||
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
||||||
[ "${KATA_HYPERVISOR}" == "fc" ] && skip "test not working see: ${fc_limitations}"
|
[ "${KATA_HYPERVISOR}" == "fc" ] && skip "test not working see: ${fc_limitations}"
|
||||||
|
|
||||||
@ -44,6 +46,7 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@test "Test readonly volume for pods" {
|
@test "Test readonly volume for pods" {
|
||||||
|
skip "test not working see: ${issue}"
|
||||||
# Create pod
|
# Create pod
|
||||||
kubectl create -f "${test_yaml}"
|
kubectl create -f "${test_yaml}"
|
||||||
|
|
||||||
@ -56,6 +59,7 @@ setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
teardown() {
|
teardown() {
|
||||||
|
skip "test not working see: ${issue}"
|
||||||
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
||||||
[ "${KATA_HYPERVISOR}" == "fc" ] && skip "test not working see: ${fc_limitations}"
|
[ "${KATA_HYPERVISOR}" == "fc" ] && skip "test not working see: ${fc_limitations}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user