From ca9a543e882c0fa891230d72311d5f7631d099bc Mon Sep 17 00:00:00 2001 From: BjornMagnussonXA Date: Thu, 19 May 2022 19:46:41 +0200 Subject: Changed process execution in CSIT test Issue-ID: CCSDK-3675 Signed-off-by: BjornMagnussonXA Change-Id: Idcd76e78930bdcec0981cf443a2ede404cd31643 --- csit/scripts/healthcheck/data/preparePmsData.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'csit/scripts/healthcheck/data') diff --git a/csit/scripts/healthcheck/data/preparePmsData.sh b/csit/scripts/healthcheck/data/preparePmsData.sh index 383ceeb1..3891728f 100755 --- a/csit/scripts/healthcheck/data/preparePmsData.sh +++ b/csit/scripts/healthcheck/data/preparePmsData.sh @@ -86,7 +86,7 @@ expect="Policy type 2 is OK.201" checkRes echo -e "\n" -for i in {1..60}; do +for i in {1..300}; do echo "policy types from policy agent:" curlString="curl -skw %{http_code} $httpx://localhost:$policy_agent_port/a1-policy/v2/policy-types" res=$($curlString) @@ -96,10 +96,14 @@ for i in {1..60}; do echo -e "\n" break; else - sleep $i + sleep 1 fi done +docker images +docker ps -a +docker logs policy-agent + echo "create service ric-registration to policy agent:" curlString="curl -k -X PUT -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$policy_agent_port/a1-policy/v2/services" --data-binary @${SHELL_FOLDER}/testdata/v2/service.json" res=$($curlString) -- cgit 1.2.3-korg