mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +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[@]}
|
||||
do
|
||||
info "$(kubectl get pods --all-namespaces 2>&1)"
|
||||
info "Executing ${K8S_TEST_ENTRY}"
|
||||
bats --show-output-of-passing-tests "${K8S_TEST_ENTRY}"
|
||||
done
|
||||
}
|
||||
|
||||
run_policy_specific_tests() {
|
||||
info "$(kubectl get pods --all-namespaces 2>&1)"
|
||||
info "Executing k8s-exec-rejected.bats"
|
||||
bats --show-output-of-passing-tests k8s-exec-rejected.bats
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user