From f984eba5f11e772f13351cc3b2b8c76664ea2dc2 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 9 Dec 2015 23:09:05 +0100 Subject: [PATCH] Added error code on failure to boot the apps --- scripts/runAcceptanceTests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/runAcceptanceTests.sh b/scripts/runAcceptanceTests.sh index 3e0cde3c..da513f64 100644 --- a/scripts/runAcceptanceTests.sh +++ b/scripts/runAcceptanceTests.sh @@ -46,7 +46,8 @@ if [ "$success" = true ] ; then echo "Successfully booted up all the apps. Proceeding with the acceptance tests" bash -e runAcceptanceTests.sh else - echo "Failed to boot the apps. Will now kill the containers and remove them" + echo "Failed to boot the apps." + exit 1 fi cd ..