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>
diff --git a/csit/tests/xacml-pdp-test.robot b/csit/tests/xacml-pdp-test.robot
index 03b0ca7..9fd4ed2 100644
--- a/csit/tests/xacml-pdp-test.robot
+++ b/csit/tests/xacml-pdp-test.robot
@@ -81,6 +81,7 @@
${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