diff options
author | Liam Fallon <liam.fallon@est.tech> | 2022-09-08 21:24:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-09-08 21:24:26 +0000 |
commit | 1810513a0be91035e704967ff5c5dd58ac62bef0 (patch) | |
tree | d351b7352f86465ad83957474fff59b5bb672c3e /csit/wait_for_port.sh | |
parent | 85c73756d72729c5f4e6131cf7f030bccae3307f (diff) | |
parent | c4bd9e44e4c9a9aac1f54a490bc52d231136500c (diff) |
Merge "Improve debugging support for CSITs"
Diffstat (limited to 'csit/wait_for_port.sh')
-rwxr-xr-x | csit/wait_for_port.sh | 5 |
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=$? |