summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/policy
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2018-03-30 11:01:03 -0500
committerJorge Hernandez <jh1730@att.com>2018-03-30 11:08:20 -0500
commitb13f63e3d31870c92f576ba1e8736ce7f3df9659 (patch)
treeed0b1264aaec50b1faf00ae0fc8df752ed39518f /test/csit/scripts/policy
parent61dcc8ffc9aedec06c814cd1a3c9cc00505fbab1 (diff)
Add additional logging to get more information
Change-Id: Icbcdec738ba2266c83f5d9c4f0bc42285c42e6c7 Issue-ID: POLICY-709 Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'test/csit/scripts/policy')
-rwxr-xr-xtest/csit/scripts/policy/script1.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/test/csit/scripts/policy/script1.sh b/test/csit/scripts/policy/script1.sh
index cfa29ec6f..a09fa5f24 100755
--- a/test/csit/scripts/policy/script1.sh
+++ b/test/csit/scripts/policy/script1.sh
@@ -105,8 +105,6 @@ fi
docker ps
-#sleep 4m
-
POLICY_IP=`docker inspect --format '{{ .NetworkSettings.Networks.docker_default.IPAddress}}' drools`
echo ${POLICY_IP}
@@ -125,11 +123,26 @@ echo ${NEXUS_IP}
MARIADB_IP=`docker inspect --format '{{ .NetworkSettings.Networks.docker_default.IPAddress}}' mariadb`
echo ${MARIADB_IP}
+sleep 1m
+
+netstat -tnl
+
+docker logs mariadb
${DIR}/wait_for_port.sh ${MARIADB_IP} 3306
+
+docker logs pap
${DIR}/wait_for_port.sh ${PAP_IP} 9091
+
+docker logs pdp
${DIR}/wait_for_port.sh ${PDP_IP} 8081
+
+docker logs brmsgw
${DIR}/wait_for_port.sh ${BRMS_IP} 9989
+
+docker logs nexus
${DIR}/wait_for_port.sh ${NEXUS_IP} 8081
+
+docker logs drools
${DIR}/wait_for_port.sh ${POLICY_IP} 6969
TIME_OUT=600