Skip to content

Commit

Permalink
Changes AC test check to check exited ps (#21672)
Browse files Browse the repository at this point in the history
some docker compose changes no longer show exited
processes.  this broke out test

this change should fix master

tested in a runner that failed
  • Loading branch information
supertopher authored and gosusnp committed Jan 24, 2023
1 parent 9fa77f1 commit accb6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/bin/acceptance_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ get_epoch_time() {
}

check_success() {
docker compose ps | grep "^$1" | grep -ie 'exit 0' -ie 'exited (0)' >/dev/null || (echo "$1 didn't run successfully"; exit 1)
docker compose ps --all | grep "^$1" | grep -ie 'exit 0' -ie 'exited (0)' >/dev/null || (echo "$1 didn't run successfully"; exit 1)
}

##
Expand Down

0 comments on commit accb6d1

Please sign in to comment.