summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2021-03-10 08:54:33 -0500
committerTaka Cho <takamune.cho@att.com>2021-03-10 10:23:48 -0500
commitd20531dea8f5c7e82f8c639a57767c8dbd859089 (patch)
tree8df09a5ac27b8dc763125d49b38821c3218e788d
parent40dd83c05b22eebb44cd73920c1510fa17ce20df (diff)
add a sleep 5 sec for robot
add a sleep time to ensure the deploypolicies received Issue-ID: POLICY-2895 Change-Id: Ib21fdfb54ab2fe550a359f04a82cb355b354026d Signed-off-by: Taka Cho <takamune.cho@att.com>
-rw-r--r--csit/tests/xacml-pdp-test.robot1
1 files changed, 1 insertions, 0 deletions
diff --git a/csit/tests/xacml-pdp-test.robot b/csit/tests/xacml-pdp-test.robot
index 03b0ca7a..9fd4ed25 100644
--- a/csit/tests/xacml-pdp-test.robot
+++ b/csit/tests/xacml-pdp-test.robot
@@ -81,6 +81,7 @@ DeployPolicies
${session}= Create Session policy https://${POLICY_PAP_IP}:6969 auth=${auth}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
${resp}= Post Request policy /policy/pap/v1/pdps/policies data=${postjson} headers=${headers}
+ Sleep 5s
Log Received response from policy5 ${resp.text}
${postjsonobject} To Json ${postjson}
Should Be Equal As Strings ${resp.status_code} 202