From: Taka Cho Date: Wed, 10 Mar 2021 13:54:33 +0000 (-0500) Subject: add a sleep 5 sec for robot X-Git-Tag: 2.4.2~4^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d20531dea8f5c7e82f8c639a57767c8dbd859089;p=policy%2Fxacml-pdp.git 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 --- 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