Fix xacml-pdp csit test cases 60/121260/1
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Tue, 11 May 2021 13:22:43 +0000 (09:22 -0400)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Tue, 11 May 2021 13:22:52 +0000 (09:22 -0400)
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: I505c6e95e78a35b8bf1ee9921efbfcb4bd4874fb
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
csit/tests/xacml-pdp-test.robot

index 4dff527..97c4cb3 100644 (file)
@@ -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 ***