mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 04:04:45 +00:00
ci: k8s: Remove useless skip statement from tests
There's absolutely no need to have the skip check as part of the test itself when it's already done as part of the setup function. We're only touching the files here that were touched in the previous commit. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
3cc20b47a6
commit
f6cd3930c5
@ -29,12 +29,6 @@ setup() {
|
||||
}
|
||||
|
||||
@test "Check CPU constraints" {
|
||||
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
||||
[ "${KATA_HYPERVISOR}" == "dragonball" ] && skip "test not working see: ${dragonball_limitations}"
|
||||
( [ "${KATA_HYPERVISOR}" == "qemu-tdx" ] || [ "${KATA_HYPERVISOR}" == "qemu-snp" ] || [ "${KATA_HYPERVISOR}" == "qemu-sev" ] ) \
|
||||
&& skip "TEEs do not support memory / CPU hotplug"
|
||||
|
||||
|
||||
# Create the pod
|
||||
kubectl create -f "${pod_config_dir}/pod-cpu.yaml"
|
||||
|
||||
|
@ -16,8 +16,6 @@ setup() {
|
||||
}
|
||||
|
||||
@test "Credentials using secrets" {
|
||||
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
||||
|
||||
secret_name="test-secret"
|
||||
pod_name="secret-test-pod"
|
||||
second_pod_name="secret-envars-test-pod"
|
||||
|
@ -21,7 +21,6 @@ setup() {
|
||||
}
|
||||
|
||||
@test "Test readonly volume for pods" {
|
||||
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
||||
# Write test body to temp file
|
||||
exec_host "echo "$file_body" > $tmp_file"
|
||||
|
||||
|
@ -16,8 +16,6 @@ setup() {
|
||||
}
|
||||
|
||||
@test "Projected volume" {
|
||||
[ "${KATA_HYPERVISOR}" == "firecracker" ] && skip "test not working see: ${fc_limitations}"
|
||||
|
||||
password="1f2d1e2e67df"
|
||||
username="admin"
|
||||
pod_name="test-projected-volume"
|
||||
|
Loading…
Reference in New Issue
Block a user