diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-10-10 19:50:44 +0000 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-10-10 20:03:58 +0000 |
commit | 6dc696f5d6adc6cdfa8dad053cd2def1ce56a025 (patch) | |
tree | 1aa6a7dcc3324f7ebb716603cc5b38b09e27d997 /test/csit/plans/policy/health/setup.sh | |
parent | e162e58e082206ad17b93befea082e16cccadd60 (diff) |
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 <pdragosh@research.att.com>
Diffstat (limited to 'test/csit/plans/policy/health/setup.sh')
-rwxr-xr-x | test/csit/plans/policy/health/setup.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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} |