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 <jrh3@att.com>
Change-Id: I209a927041c3566324bfad150b41fc12fd8f5920
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