Skip to content

Commit 3e7a2a2

Browse files
authored
Update docker_compose_test.sh
1 parent 0c4197b commit 3e7a2a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker_compose_test/docker_compose_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ trap cleanup EXIT
6969
docker_compose_up_cmd="$docker_compose_bin -f $ABSOLUTE_COMPOSE_FILE_PATH up --exit-code-from $DOCKER_COMPOSE_TEST_CONTAINER $EXTRA_DOCKER_COMPOSE_UP_ARGS"
7070
echo "running: $docker_compose_up_cmd"
7171
echo "$docker_compose_up_cmd" | bash
72+
result=$?
7273

7374
# Figure out the exit code of the test container incase it never actually started.
7475
docker_inspect_cmd="$(docker inspect $($docker_compose_bin -f $ABSOLUTE_COMPOSE_FILE_PATH ps -qa $DOCKER_COMPOSE_TEST_CONTAINER) --format='{{.State.ExitCode}}' 2>/dev/null)"

0 commit comments

Comments
 (0)