Change-Id: I396c3b2be6a0f02c86fd96a9532cc78bc96c3c5b
Signed-off-by: Peter Gubka <pgubka@cisco.com>
BuiltIn.Set_Suite_Variable \${new_follower_sessions} ${sessions}
${first_follower_session} = Collections.Get_From_List ${sessions} 0
BuiltIn.Set_Suite_Variable \${new_first_follower_session} ${first_follower_session}
+ BuiltIn.Return_From_Keyword ${leader} ${follower_list}
Wait_For_New_Leader
[Documentation] Wait until new car Leader is elected.
- BuiltIn.Wait_Until_Keyword_Succeeds 30s 2s CarPeople.Set_Tmp_Variables_For_Shard_For_Nodes member_index_list=${car_follower_indices} shard_name=${SHARD_NAME} shard_type=${SHARD_TYPE}
+ BuiltIn.Wait_Until_Keyword_Succeeds 30s 2s ClusterManagement.Verify_Shard_Leader_Elected ${SHARD_NAME} ${SHARD_TYPE} ${True}
+ ... ${car_leader_index} member_index_list=${car_follower_indices}
+ CarPeople.Set_Tmp_Variables_For_Shard_For_Nodes member_index_list=${car_follower_indices} shard_name=${SHARD_NAME} shard_type=${SHARD_TYPE}
See_Original_Cars_On_New_Leader
[Documentation] GET cars from new Leader, should be the initial ones.