Simplify OF Cluster HA test 03/42003/2
authorLuis Gomez <ecelgp@gmail.com>
Mon, 18 Jul 2016 21:39:03 +0000 (14:39 -0700)
committerVratko Polák <vrpolak@cisco.com>
Wed, 20 Jul 2016 10:56:54 +0000 (10:56 +0000)
Original candidate is available after killing owner.

Change-Id: I8f15d441838062e3edc9d520e69d9c9af3262ebc
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
csit/suites/openflowplugin/Clustering/010__Cluster_HA_Owner_Failover.robot

index d98176115e7716d92ef115055b129eea76678b5b..7c22be8808fff9ed3f3867293048351836ce4ee9 100644 (file)
@@ -99,8 +99,7 @@ Check Shards Status After Fail
 
 Check Entity Owner Status And Find Owner and Candidate After Fail
     [Documentation]    Check Entity Owner Status and identify owner and candidate.
-    ${first_member}=    Get From List    ${new_cluster_list}    0
-    ${new_owner}    ${new_candidate_list}    ClusterOpenFlow.Get OpenFlow Entity Owner Status For One Device    openflow:1    ${first_member}    ${new_cluster_list}
+    ${new_owner}    ${new_candidate_list}    ClusterOpenFlow.Get OpenFlow Entity Owner Status For One Device    openflow:1    ${original_candidate}    ${new_cluster_list}
     ${new_candidate}=    Get From List    ${new_candidate_list}    0
     Set Suite Variable    ${new_owner}
     Set Suite Variable    ${new_candidate}