mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
tests: k8s: output the names of test files
Output the names of test files, for easier search through logs. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
parent
bf533de31a
commit
24a17a2e1b
@ -139,14 +139,18 @@ test_successful_actions() {
|
|||||||
for K8S_TEST_ENTRY in ${K8S_TEST_UNION[@]}
|
for K8S_TEST_ENTRY in ${K8S_TEST_UNION[@]}
|
||||||
do
|
do
|
||||||
info "$(kubectl get pods --all-namespaces 2>&1)"
|
info "$(kubectl get pods --all-namespaces 2>&1)"
|
||||||
|
info "Executing ${K8S_TEST_ENTRY}"
|
||||||
bats --show-output-of-passing-tests "${K8S_TEST_ENTRY}"
|
bats --show-output-of-passing-tests "${K8S_TEST_ENTRY}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
run_policy_specific_tests() {
|
run_policy_specific_tests() {
|
||||||
info "$(kubectl get pods --all-namespaces 2>&1)"
|
info "$(kubectl get pods --all-namespaces 2>&1)"
|
||||||
|
info "Executing k8s-exec-rejected.bats"
|
||||||
bats --show-output-of-passing-tests k8s-exec-rejected.bats
|
bats --show-output-of-passing-tests k8s-exec-rejected.bats
|
||||||
|
|
||||||
info "$(kubectl get pods --all-namespaces 2>&1)"
|
info "$(kubectl get pods --all-namespaces 2>&1)"
|
||||||
|
info "Executing k8s-policy-set-keys.bats"
|
||||||
bats --show-output-of-passing-tests k8s-policy-set-keys.bats
|
bats --show-output-of-passing-tests k8s-policy-set-keys.bats
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user