aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/plans/appc/healthcheck/setup.sh
diff options
context:
space:
mode:
authorAaron Hay <ah415j@att.com>2017-09-12 14:03:37 -0400
committerAaron Hay <ah415j@att.com>2017-09-12 14:17:32 -0400
commit0f33e96f0a4186263a4ef1acb9292878e9636ca7 (patch)
treee06994e31c5f8381889f36da8bbf56badb52a97f /test/csit/plans/appc/healthcheck/setup.sh
parent0b08c9e236dfad21f3550e534608e0c640b728ba (diff)
db_query health check
Created db_query.sh which is executed by the test1.robot script to make sure the sdnctl and appcctl databases are in a healthy state. Change-Id: I90240db9f897e4fc86caf9975e18e208fe7e67ac Issue-ID: APPC-118 Signed-off-by: Aaron Hay <ah415j@att.com>
Diffstat (limited to 'test/csit/plans/appc/healthcheck/setup.sh')
-rwxr-xr-xtest/csit/plans/appc/healthcheck/setup.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/csit/plans/appc/healthcheck/setup.sh b/test/csit/plans/appc/healthcheck/setup.sh
index b91baa3a9..3c57cefac 100755
--- a/test/csit/plans/appc/healthcheck/setup.sh
+++ b/test/csit/plans/appc/healthcheck/setup.sh
@@ -22,6 +22,10 @@ source ${WORKSPACE}/test/csit/scripts/appc/script1.sh
export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
+if [ "$MTU" == "" ]; then
+ export MTU="1450"
+fi
+
# Clone APPC repo to get docker-compose for APPC
mkdir -p $WORKSPACE/archives/appc
@@ -42,7 +46,7 @@ docker pull nexus3.onap.org:10001/openecomp/dgbuilder-sdnc-image:1.1-STAGING-lat
docker tag nexus3.onap.org:10001/openecomp/dgbuilder-sdnc-image:1.1-STAGING-latest openecomp/dgbuilder-sdnc-image:latest
# start APPC containers with docker compose and configuration from docker-compose.yml
-/opt/docker/docker-compose up -d
+docker-compose up -d
# WAIT 5 minutes maximum and test every 5 seconds if APPC is up using HealthCheck API
TIME_OUT=500