Replace 'Run Keyword Unless'
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp2-multitenant / 002_wait_flows.robot
index 37019c603f3043fed4d35f2fb34c4386caf10a1b..e715817c06975f62d5f3a6c5cace1d0966751a5e 100644 (file)
@@ -14,8 +14,8 @@ ${timeout}        10s
 Wait For Flows
     Sleep    30s
     ${passed} =    Run Keyword And Return Status    OpenFlowUtils.Wait For Flows On Switch    ${GBP1}    sw1
-    Run Keyword Unless    ${passed}    Fatal Error    Flows not created on sw1!
+    Run Keyword If    not ${passed}    Fatal Error    Flows not created on sw1!
     ${passed} =    Run Keyword And Return Status    OpenFlowUtils.Wait For Flows On Switch    ${GBP2}    sw2
-    Run Keyword Unless    ${passed}    Fatal Error    Flows not created on sw2!
+    Run Keyword If    not ${passed}    Fatal Error    Flows not created on sw2!
     ${passed} =    Run Keyword And Return Status    OpenFlowUtils.Wait For Flows On Switch    ${GBP3}    sw3
-    Run Keyword Unless    ${passed}    Fatal Error    Flows not created on sw3!
+    Run Keyword If    not ${passed}    Fatal Error    Flows not created on sw3!