aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2021-05-11 09:57:02 -0400
committerRam Krishna Verma <ram_krishna.verma@bell.ca>2021-05-20 21:25:07 +0000
commit44ff5190c07bc27171a7c04f58f10bb6c0975e78 (patch)
treef79afd8d7fdb8d5224a662dd8eb291892734eae4
parentf07c7accddc9320c7e9726b746d188948b729a41 (diff)
Fix xacml-pdp csit test cases
In the recent runs, it was found that get statitcs might take few seconds longer after the actual deployment of policies. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on. Issue-ID: POLICY-3257 Change-Id: Ifb00a7745b054fe490dd66cc680732893ff2b31a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit f1b994e85dd1075db23a4a23c7b2a3e88ac123c5)
-rw-r--r--csit/xacml-pdp/tests/xacml-pdp-test.robot24
1 files changed, 12 insertions, 12 deletions
diff --git a/csit/xacml-pdp/tests/xacml-pdp-test.robot b/csit/xacml-pdp/tests/xacml-pdp-test.robot
index e27972ba..e19e0042 100644
--- a/csit/xacml-pdp/tests/xacml-pdp-test.robot
+++ b/csit/xacml-pdp/tests/xacml-pdp-test.robot
@@ -22,18 +22,18 @@ MakeTopics
Should Be Equal As Integers ${result.rc} 0
ExecuteXacmlPolicy
- Wait Until Keyword Succeeds 0 min 15 sec CreateMonitorPolicy
- Wait Until Keyword Succeeds 0 min 15 sec CreateOptimizationPolicy
- Wait Until Keyword Succeeds 0 min 15 sec GetDefaultDecision
- Wait Until Keyword Succeeds 0 min 15 sec DeployPolicies
- Wait Until Keyword Succeeds 0 min 15 sec GetStatisticsAfterDeployed
- Wait Until Keyword Succeeds 0 min 15 sec GetAbbreviatedDecisionResult
- Wait Until Keyword Succeeds 0 min 15 sec GetMonitoringDecision
- Wait Until Keyword Succeeds 0 min 15 sec GetNamingDecision
- Wait Until Keyword Succeeds 0 min 15 sec GetOptimizationDecision
- Wait Until Keyword Succeeds 0 min 15 sec GetStatisticsAfterDecision
- Wait Until Keyword Succeeds 0 min 15 sec UndeployMonitorPolicy
- Wait Until Keyword Succeeds 0 min 15 sec GetStatisticsAfterUndeploy
+ Wait Until Keyword Succeeds 1 min 15 sec CreateMonitorPolicy
+ Wait Until Keyword Succeeds 1 min 15 sec CreateOptimizationPolicy
+ Wait Until Keyword Succeeds 1 min 15 sec GetDefaultDecision
+ Wait Until Keyword Succeeds 1 min 15 sec DeployPolicies
+ Wait Until Keyword Succeeds 1 min 15 sec GetStatisticsAfterDeployed
+ Wait Until Keyword Succeeds 1 min 15 sec GetAbbreviatedDecisionResult
+ Wait Until Keyword Succeeds 1 min 15 sec GetMonitoringDecision
+ Wait Until Keyword Succeeds 1 min 15 sec GetNamingDecision
+ Wait Until Keyword Succeeds 1 min 15 sec GetOptimizationDecision
+ Wait Until Keyword Succeeds 1 min 15 sec GetStatisticsAfterDecision
+ Wait Until Keyword Succeeds 1 min 15 sec UndeployMonitorPolicy
+ Wait Until Keyword Succeeds 1 min 15 sec GetStatisticsAfterUndeploy
*** Keywords ***