From fa0661613294583be553a81350677852e1e41907 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Mon, 12 Jul 2021 15:07:33 -0400 Subject: Check exit status of wait_topic in xacml-pdp CSIT Added code to the xacml-pdp robot script to check the exit status of wait_topic, to ensure that it succeeded. Issue-ID: POLICY-3473 Change-Id: Ie47bb861cd331c42aa5ae4f91c38a259796be842 Signed-off-by: Jim Hahn --- csit/xacml-pdp/tests/xacml-pdp-test.robot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csit/xacml-pdp/tests/xacml-pdp-test.robot') 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 -- cgit 1.2.3-korg