summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-07-13 12:05:59 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-13 12:05:59 +0000
commitb7693cb482e80a836596d9ffaf50defc761c235d (patch)
treecca0630d855a5d0555100e6b14bade83286c5b11
parent9a12d024fe42fd3c57477c513382c3b78983b9ce (diff)
parentfa0661613294583be553a81350677852e1e41907 (diff)
Merge "Check exit status of wait_topic in xacml-pdp CSIT"
-rw-r--r--csit/xacml-pdp/plans/setup.sh2
-rw-r--r--csit/xacml-pdp/tests/xacml-pdp-test.robot2
2 files changed, 3 insertions, 1 deletions
diff --git a/csit/xacml-pdp/plans/setup.sh b/csit/xacml-pdp/plans/setup.sh
index 23ebf6fe..718d5123 100644
--- a/csit/xacml-pdp/plans/setup.sh
+++ b/csit/xacml-pdp/plans/setup.sh
@@ -39,6 +39,8 @@ POLICY_PDPX_IP=`get-instance-ip.sh policy-xacml-pdp`
SIM_IP=`get-instance-ip.sh simulator`
POLICY_PAP_IP=`get-instance-ip.sh policy-pap`
+export SIM_IP
+
echo PDP IP IS ${POLICY_PDPX_IP}
echo API IP IS ${POLICY_API_IP}
echo PAP IP IS ${POLICY_PAP_IP}
diff --git a/csit/xacml-pdp/tests/xacml-pdp-test.robot b/csit/xacml-pdp/tests/xacml-pdp-test.robot
index e19e0042..c88959d0 100644
--- a/csit/xacml-pdp/tests/xacml-pdp-test.robot
+++ b/csit/xacml-pdp/tests/xacml-pdp-test.robot
@@ -54,9 +54,9 @@ GetDefaultDecision
DeployPolicies
[Documentation] Runs Policy PAP to deploy a policy
${resp}= PerformPostRequest /policy/pap/v1/pdps/policies null ${POLICY_PAP_IP} 202 vCPE.policy.input.tosca.deploy.json ${CURDIR}/data
- Sleep 5s
${result}= Run Process ${SCR_DMAAP}/wait_topic.sh POLICY-PDP-PAP
... responseTo xacml ACTIVE onap.restart.tca
+ Should Be Equal As Integers ${result.rc} 0
GetStatisticsAfterDeployed
[Documentation] Verify policy xacml-pdp statistics after policy is deployed