aboutsummaryrefslogtreecommitdiffstats
path: root/csit/wait_for_port.sh
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-09-08 21:24:26 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-08 21:24:26 +0000
commit1810513a0be91035e704967ff5c5dd58ac62bef0 (patch)
treed351b7352f86465ad83957474fff59b5bb672c3e /csit/wait_for_port.sh
parent85c73756d72729c5f4e6131cf7f030bccae3307f (diff)
parentc4bd9e44e4c9a9aac1f54a490bc52d231136500c (diff)
Merge "Improve debugging support for CSITs"
Diffstat (limited to 'csit/wait_for_port.sh')
-rwxr-xr-xcsit/wait_for_port.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/csit/wait_for_port.sh b/csit/wait_for_port.sh
index 0a9adc3a..5a8be250 100755
--- a/csit/wait_for_port.sh
+++ b/csit/wait_for_port.sh
@@ -62,6 +62,11 @@ do
while [ "$tmout" -gt 0 ]
do
+ if command -v docker > /dev/null 2>&1
+ then
+ docker ps
+ fi
+
nc -vz "$host" "$port"
rc=$?