diff --git a/tests/functional/kata-deploy/kata-deploy-custom-runtimes.bats b/tests/functional/kata-deploy/kata-deploy-custom-runtimes.bats index c288f336ae..41bc66caf1 100644 --- a/tests/functional/kata-deploy/kata-deploy-custom-runtimes.bats +++ b/tests/functional/kata-deploy/kata-deploy-custom-runtimes.bats @@ -155,7 +155,7 @@ EOF # End-to-End Tests (require cluster with kata-deploy) # ============================================================================= -@test "E2E: Custom RuntimeClass exists with correct properties" { +@test "E2E: Custom RuntimeClass exists and can run a pod" { # Check RuntimeClass exists run kubectl get runtimeclass "${CUSTOM_RUNTIME_HANDLER}" -o name if [[ "${status}" -ne 0 ]]; then @@ -195,15 +195,6 @@ EOF echo "# Label app.kubernetes.io/managed-by: ${label}" >&3 [[ "${label}" == "Helm" ]] - BATS_TEST_COMPLETED=1 -} - -@test "E2E: Custom runtime can run a pod" { - # Check if the custom RuntimeClass exists - if ! kubectl get runtimeclass "${CUSTOM_RUNTIME_HANDLER}" &>/dev/null; then - skip "Custom RuntimeClass ${CUSTOM_RUNTIME_HANDLER} not found" - fi - # Create a test pod using the custom runtime cat <