Skip to content

Commit

Permalink
ci: exit 1 if none of the attempts pass
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Sep 18, 2023
1 parent 19c56e2 commit 14a3f0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/end2end_tests/entrypoints/sshnp_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -32,6 +33,7 @@ main()
fi
sleep 5
done
exit 1
}

main

0 comments on commit 14a3f0d

Please sign in to comment.