aboutsummaryrefslogtreecommitdiffstats
path: root/tests/policy
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-05-06 10:27:21 -0400
committerJim Hahn <jrh3@att.com>2020-05-06 10:57:59 -0400
commit753d613f817a419bc959bc882e165f5eb027562d (patch)
tree3f52cc3c9dd5fd62734586699101c69e9a4f24c5 /tests/policy
parent8a477f14b199f96b29e7f99216f39f7ee8273edb (diff)
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 <jrh3@att.com> Change-Id: I209a927041c3566324bfad150b41fc12fd8f5920
Diffstat (limited to 'tests/policy')
-rw-r--r--tests/policy/drools-applications/drools-applications-test.robot2
1 files changed, 1 insertions, 1 deletions
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