diff options
Diffstat (limited to 'integrationtests/common.sh')
-rw-r--r-- | integrationtests/common.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/integrationtests/common.sh b/integrationtests/common.sh index 86158d153..d228d1ea5 100644 --- a/integrationtests/common.sh +++ b/integrationtests/common.sh @@ -114,6 +114,9 @@ function wait_for_services() { OK=1 break done + if [ 1 != $OK ]; then + exit_skip "Failed to launch bank" + fi # Wait for all other services to be available for _ in $(seq 1 50); do echo -n "." @@ -170,6 +173,10 @@ function assert_greater_than() { fi } +function assert_equal() { + [[ "$1" == "$2" ]] || exit_error "$1 is not equal to $2" +} + function shutdown_services() { echo "Shutting down services" jobs -p | xargs --no-run-if-empty kill || true |