aboutsummaryrefslogtreecommitdiffstats
path: root/csit/wait_for_port.sh
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2023-02-09 11:56:27 +0000
committeradheli.tavares <adheli.tavares@est.tech>2023-02-14 15:52:04 +0000
commit9fc9fa480d5b18b0988b9388d13db8328032fc52 (patch)
tree4d851a64d6593335e7c02a5267875833a04e9591 /csit/wait_for_port.sh
parentf5a11b0b346df610ffa8d9857956abf113ce6765 (diff)
Add SLAs validations to docker csit robot tests
Issue-ID: POLICY-4529 Change-Id: I197a51892e9135d20c2e8a49ce7787df3bfbd4fa Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/wait_for_port.sh')
-rwxr-xr-xcsit/wait_for_port.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/wait_for_port.sh b/csit/wait_for_port.sh
index 5a8be250..6dcb3cab 100755
--- a/csit/wait_for_port.sh
+++ b/csit/wait_for_port.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# ============LICENSE_START====================================================
# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved.
-# Modifications Copyright (C) 2022 Nordix Foundation.
+# Modifications Copyright (C) 2022-2023 Nordix Foundation.
# =============================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -64,7 +64,7 @@ do
do
if command -v docker > /dev/null 2>&1
then
- docker ps
+ docker ps --format "table {{ .Names }}\t{{ .Status }}"
fi
nc -vz "$host" "$port"