mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
ci-automation: Print failed tests nicer
Instead of printing failed tests like this: Failed tests: kubeadm.v1.25.0.cilium.base kubeadm.v1.24.1.cilium.base Do it like this: Failed tests: kubeadm.v1.25.0.cilium.base kubeadm.v1.24.1.cilium.base
This commit is contained in:
parent
9e05a07a77
commit
8cd06230ba
@ -200,14 +200,16 @@ function _test_run_impl() {
|
||||
|
||||
if retest_cycle_broken; then
|
||||
echo "########### Test cycle requested to break ###########"
|
||||
echo "Failed tests: $failed_tests"
|
||||
echo "Failed tests:"
|
||||
echo "${failed_tests}"
|
||||
echo "-----------"
|
||||
print_give_up=false
|
||||
break
|
||||
fi
|
||||
|
||||
echo "########### Some tests failed and will be re-run (${retry} / ${retries}). ###########"
|
||||
echo "Failed tests: $failed_tests"
|
||||
echo "Failed tests:"
|
||||
echo "${failed_tests}"
|
||||
echo "-----------"
|
||||
set -- $failed_tests
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user