From 14a3f0d48f29287149ee5a48709e0a5698c0dd26 Mon Sep 17 00:00:00 2001 From: JeremyTubongbanua Date: Mon, 18 Sep 2023 13:40:49 -0400 Subject: [PATCH] ci: exit 1 if none of the attempts pass --- tests/end2end_tests/entrypoints/sshnp_entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/end2end_tests/entrypoints/sshnp_entrypoint.sh b/tests/end2end_tests/entrypoints/sshnp_entrypoint.sh index 0bf8feaca..ad3bdbb9c 100644 --- a/tests/end2end_tests/entrypoints/sshnp_entrypoint.sh +++ b/tests/end2end_tests/entrypoints/sshnp_entrypoint.sh @@ -19,6 +19,7 @@ run_test() echo "ssh -p command: $(cat sshcommand.txt)" echo "./test.sh " | eval "$(cat sshcommand.txt)" sleep 2 # time for ssh connection to properly exit + return 0 } main() @@ -32,6 +33,7 @@ main() fi sleep 5 done + exit 1 } main