Replace 'Run Keyword Unless'
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp1 / 002_wait_flows.robot
index 292b5393997a6c82ec797bd12406c1a4e727b13d..5a0d48a3aa9da22df2a35e76eabb51ec4f7d1383 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!