diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-05-30 10:17:05 +0100 |
---|---|---|
committer | Adheli Tavares <adheli.tavares@est.tech> | 2024-06-20 08:35:22 +0000 |
commit | a0de87f9d2d88fd7f870703053c99c7149d608ec (patch) | |
tree | 3bf6979faaa42c643a2f1e4441ed07b7ea2e4088 /csit/resources/tests/common-library.robot | |
parent | 8bc6d4e4bbc319e1319b18c68aba7a6e0a7dc89d (diff) |
Fix timeout in pap CSIT for auditing undeploysnewdelhi
Issue-ID: POLICY-4494
Change-Id: I04337ad3314770aa9870aa1779161023745699e0
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
(cherry picked from commit 2ac4b6c7e56b0ed3a9fabca1c2123e3b89f27d65)
Diffstat (limited to 'csit/resources/tests/common-library.robot')
-rw-r--r-- | csit/resources/tests/common-library.robot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/csit/resources/tests/common-library.robot b/csit/resources/tests/common-library.robot index 18bfab99..bee80a90 100644 --- a/csit/resources/tests/common-library.robot +++ b/csit/resources/tests/common-library.robot @@ -77,10 +77,10 @@ QueryPdpGroups QueryPolicyAudit [Arguments] ${url} ${expectedstatus} ${pdpGroup} ${pdpType} ${policyName} ${expectedAction} ${policyadmin}= PolicyAdminAuth - ${resp}= PerformGetRequest ${POLICY_PAP_IP} ${url} ${expectedstatus} recordCount=2 ${policyadmin} + ${resp}= PerformGetRequest ${POLICY_PAP_IP} ${url} ${expectedstatus} recordCount=4 ${policyadmin} Log Received response from queryPolicyAudit ${resp.text} FOR ${responseEntry} IN @{resp.json()} - Exit For Loop IF '${responseEntry['policy']['name']}'=='${policyName}' + Exit For Loop IF '${responseEntry['policy']['name']}'=='${policyName}' and '${responseEntry['action']}'=='${expectedAction}' END Should Be Equal As Strings ${responseEntry['pdpGroup']} ${pdpGroup} Should Be Equal As Strings ${responseEntry['pdpType']} ${pdpType} |