mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-02 01:16:27 +00:00
Merge pull request #10156 from GabyCT/topic/disablevolume
tests: Disable k8s file volume test
This commit is contained in:
@@ -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}"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user