Update CSIT to check for 202 response during PAP Deployment 54/118054/2
authora.sreekumar <ajith.sreekumar@bell.ca>
Thu, 18 Feb 2021 15:51:32 +0000 (15:51 +0000)
committerAjith Sreekumar <ajith.sreekumar@bell.ca>
Thu, 18 Feb 2021 17:57:56 +0000 (17:57 +0000)
Change-Id: I947207f10cfd3bc54193ee7c8d356ad40587f072
Issue-ID: POLICY-2526
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
csit/tests/apex-pdp-test.robot

index 9fdbc12..54838a3 100644 (file)
@@ -48,7 +48,7 @@ DeployPolicy
      ${resp}=   Post Request   policy  /policy/pap/v1/pdps/deployments/batch  data=${postjson}   headers=${headers}
      Log    Received response from policy5 ${resp.text}
      ${postjsonobject}   To Json    ${postjson}
-     Should Be Equal As Strings    ${resp.status_code}     200
+     Should Be Equal As Strings    ${resp.status_code}     202
 
 RunEventOnApexEngine
     Create Session   apexSession  http://${APEX_IP}:23324   max_retries=1