Fix OF cluster reconciliation test typos 07/60707/1
authorLuis Gomez <ecelgp@gmail.com>
Tue, 25 Jul 2017 04:19:14 +0000 (21:19 -0700)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 25 Jul 2017 04:19:14 +0000 (21:19 -0700)
Change-Id: I86856fadc1000d46721392f2b6f4fa9d45feb8aa
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/suites/openflowplugin/Clustered_Reconciliation/010_Group_Flows.robot

index 1982599d42fb22c7ca171075b1c72f7d73ee73e3..d61dacd7c59f3e7d646d52c8604bbe50761075c9 100644 (file)
@@ -134,7 +134,7 @@ Check Switches Generate Slave Connection
     [Documentation]    Check switches are connected to new Slave.
     ${original_master}=    BuiltIn.Set Variable    ${ODL_SYSTEM_${original_owner}_IP}
     : FOR    ${switch}    IN RANGE    1    ${switches+1}
-    \    BuiltIn.Wait Until Keyword Succeeds    50s    1s    OvsManager.Should Be Slave    s1    ${original_master}
+    \    BuiltIn.Wait Until Keyword Succeeds    50s    1s    OvsManager.Should Be Slave    s${switch}    ${original_master}
     \    ...    update_data=${True}
 
 Disconnect Mininet From Successor
@@ -239,9 +239,7 @@ Check Entity Owner Status And Find Owner and Successor Before Owner Stop
 Check Switch Generates Slave Connection Before Owner Stop
     [Documentation]    Check switch s1 is connected to Slave.
     ${original_slave}=    BuiltIn.Set Variable    ${ODL_SYSTEM_${original_successor}_IP}
-    : FOR    ${switch}    IN RANGE    1    ${switches+1}
-    \    BuiltIn.Wait Until Keyword Succeeds    50s    1s    OvsManager.Should Be Slave    s1    ${original_slave}
-    \    ...    update_data=${True}
+    BuiltIn.Wait Until Keyword Succeeds    50s    1s    OvsManager.Should Be Slave    s1    ${original_slave}    update_data=${True}
 
 Check Shards Status Before Owner Stop
     [Documentation]    Check Status for all shards in OpenFlow application.