aboutsummaryrefslogtreecommitdiffstats
path: root/csit/scripts/healthcheck/data/preparePmsData.sh
diff options
context:
space:
mode:
authorBjornMagnussonXA <bjorn.magnusson@est.tech>2022-05-19 19:46:41 +0200
committerBjornMagnussonXA <bjorn.magnusson@est.tech>2022-05-20 14:44:35 +0200
commitca9a543e882c0fa891230d72311d5f7631d099bc (patch)
treed1725b3e5ee8eefc464acaf5c04408f886ab95ba /csit/scripts/healthcheck/data/preparePmsData.sh
parent2a4cae64ac1452da49b4af60ba1fa5e8fe28400b (diff)
Changed process execution in CSIT test
Issue-ID: CCSDK-3675 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech> Change-Id: Idcd76e78930bdcec0981cf443a2ede404cd31643
Diffstat (limited to 'csit/scripts/healthcheck/data/preparePmsData.sh')
-rwxr-xr-xcsit/scripts/healthcheck/data/preparePmsData.sh8
1 files changed, 6 insertions, 2 deletions
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)