Skip to content

Commit 581a904

Browse files
committed
try to fail fast on bad kconfig
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
1 parent 60201ea commit 581a904

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/bats/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ tests: image
6161
--entrypoint "/bin/bash"\
6262
$(BATS_IMAGE) \
6363
-c "cd /cwd; \
64+
echo 'timeout -v 10 kubectl get nodes' || (echo "error: bad kubeconfig/cluster"; exit 1); \
6465
echo 'Running k8s cluster cleanup (invasive)... '; \
6566
bash tests/bats/cleanup-from-previous-run.sh &> $${_RUNDIR}/cleanup.outerr || \
6667
(echo 'Cleanup failed:'; cat $${_RUNDIR}/cleanup.outerr); \

0 commit comments

Comments
 (0)