From 6dc696f5d6adc6cdfa8dad053cd2def1ce56a025 Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 10 Oct 2017 19:50:44 +0000 Subject: Reduce time spent waiting for spin up The wait times are way too large. I've added similar script used in the docker images to wait for the port to open. Reduced overal time. Fixed API call to get Configs. Should be: ".*" not "*.*" Removed fake policy tests. Issue-ID: POLICY-299 Change-Id: I4076ef8935dd128f1e240202083ce5567e70a67b Signed-off-by: Pamela Dragosh --- test/csit/plans/policy/health/setup.sh | 4 +--- test/csit/plans/policy/health/teardown.sh | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'test/csit/plans/policy/health') diff --git a/test/csit/plans/policy/health/setup.sh b/test/csit/plans/policy/health/setup.sh index bfea1ac1c..21f58eb66 100755 --- a/test/csit/plans/policy/health/setup.sh +++ b/test/csit/plans/policy/health/setup.sh @@ -34,8 +34,6 @@ ${WORKSPACE}/test/csit/scripts/policy/mock-hello.sh ${MOCK_IP} source ${WORKSPACE}/test/csit/scripts/policy/script1.sh -sleep 3m - # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MOCK_IP:${MOCK_IP} -v IP:${IP} -v POLICY_IP:${POLICY_IP} -v PDP_IP:${PDP_IP} -v DOCKER_IP:${DOCKER_IP}" export PDP_IP=${PDP_IP} @@ -44,4 +42,4 @@ export DOCKER_IP=${DOCKER_IP} #Get current IP of VM HOST_IP=$(ip route get 8.8.8.8 | awk '/8.8.8.8/ {print $NF}') -export HOST_IP=${HOST_IP} \ No newline at end of file +export HOST_IP=${HOST_IP} diff --git a/test/csit/plans/policy/health/teardown.sh b/test/csit/plans/policy/health/teardown.sh index f79e75d89..f1f0b21ce 100755 --- a/test/csit/plans/policy/health/teardown.sh +++ b/test/csit/plans/policy/health/teardown.sh @@ -34,4 +34,3 @@ kill_instance mariadb rm -fr "${WORK_DIR}" - -- cgit 1.2.3-korg