From: Jim Hahn Date: Wed, 6 May 2020 14:27:21 +0000 (-0400) Subject: Drools-apps CSIT randomly fails deploying policies X-Git-Tag: 6.0.0-ONAP~8^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=integration%2Fcsit.git;a=commitdiff_plain;h=753d613f817a419bc959bc882e165f5eb027562d Drools-apps CSIT randomly fails deploying policies The drools-apps CSIT was randomly failing while deploying policies to xacml-pdp. The message that xacml-pdp published only contained the naming policy, thus the test failed. The supposition is that the topic monitoring script returned an earlier message from when the xacml-pdp first started up. Modified the robot script to be more specific when searching for the deployment message. Issue-ID: POLICY-2543 Signed-off-by: Jim Hahn Change-Id: I209a927041c3566324bfad150b41fc12fd8f5920 --- diff --git a/tests/policy/drools-applications/drools-applications-test.robot b/tests/policy/drools-applications/drools-applications-test.robot index 2104566a..a1ca5e20 100644 --- a/tests/policy/drools-applications/drools-applications-test.robot +++ b/tests/policy/drools-applications/drools-applications-test.robot @@ -124,7 +124,7 @@ DeployXacmlPolicies Log Received response from pap ${resp.text} Should Be Equal As Strings ${resp.status_code} 200 ${result}= Run Process ${SCR2}/wait_topic.sh POLICY-PDP-PAP - ... responseTo xacml ACTIVE + ... responseTo xacml ACTIVE restart Log Received status ${result.stdout} Should Be Equal As Integers ${result.rc} 0 Should Contain ${result.stdout} onap.restart.tca