diff options
author | 2021-01-14 10:24:04 +0000 | |
---|---|---|
committer | 2021-01-25 15:37:07 +0000 | |
commit | e957e1d17713b2c64c1f4fae6681fa1aef3f5e0f (patch) | |
tree | ff00c199f9fbdb894b0e13277bfca2991440ce9b /plans/so/integration-etsi-testing/config/wait-for-container.sh | |
parent | 9375b0b907842956052d003bb6a6796ee994572f (diff) |
Upgrading current ETSI CSIT to latest honolulu
version
Change-Id: I37ea7cffcc8a1cee1752825e23e52771669e7c51
Issue-ID: INT-1837
Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
Diffstat (limited to 'plans/so/integration-etsi-testing/config/wait-for-container.sh')
-rwxr-xr-x | plans/so/integration-etsi-testing/config/wait-for-container.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plans/so/integration-etsi-testing/config/wait-for-container.sh b/plans/so/integration-etsi-testing/config/wait-for-container.sh index 35ee2641..11e32bce 100755 --- a/plans/so/integration-etsi-testing/config/wait-for-container.sh +++ b/plans/so/integration-etsi-testing/config/wait-for-container.sh @@ -121,6 +121,7 @@ process_arguments() result=$(docker inspect --format '{{.State.Running}}' $CONTAINER_NAME) if [ $result != "true" ] ; then + docker logs $CONTAINER_NAME echo "$SCRIPT_NAME $(current_timestamp) ERROR: $CONTAINER_NAME container is not running" exit 1 fi @@ -142,6 +143,7 @@ process_arguments() $WAIT_FOR_SCRIPT -t "$TIME_OUT" -h "$HOST_IP" -p "$PORT" if [ $? -ne 0 ]; then + docker logs $CONTAINER_NAME echo "$SCRIPT_NAME $(current_timestamp) ERROR: wait-for.sh failed ..." exit 1 fi |