BuiltIn.Set_Suite_Variable ${stored_details} ${shards_details}
Shards_Stability_Get_Details
- [Arguments] ${shard_list} ${member_index_list}=${EMPTY}
+ [Arguments] ${shard_list} ${member_index_list}=${EMPTY} ${verify_restconf}=False
[Documentation] Return shard details stored in dictionary.
... ${shard_list} should be initialized as @{list} shard_name1:shard_type1 shard_name2:shard..
&{shards_details} BuiltIn.Create_Dictionary
: FOR ${shard_details} IN @{shard_list}
\ ${shard_name} ${shard_type} String.Split_String ${shard_details} separator=:
\ ${leader} ${followers} ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=${shard_name} shard_type=${shard_type} member_index_list=${member_index_list}
- \ ... verify_restconf=False
+ \ ... verify_restconf=${verify_restconf}
\ Collections.Sort_List ${followers}
\ Collections.Set_To_Dictionary ${shards_details} ${shard_name}_${shard_type}_leader=${leader}
\ Collections.Set_To_Dictionary ${shards_details} ${shard_name}_${shard_type}_followers=${followers}
Start_All_And_Sync
[Documentation] Start each member and wait for sync.
ClusterManagement.Start_Members_From_List_Or_All
- BuiltIn.Wait_Until_Keyword_Succeeds 300s 10s ShardStability.Shards_Stability_Get_Details ${DEFAULT_SHARD_LIST}
+ BuiltIn.Wait_Until_Keyword_Succeeds 300s 10s ShardStability.Shards_Stability_Get_Details ${DEFAULT_SHARD_LIST} verify_restconf=True
ClusterManagement.Run_Bash_Command_On_List_Or_All ps -ef | grep java
Start_All_And_Sync
[Documentation] Start each member and wait for sync.
ClusterManagement.Start_Members_From_List_Or_All
- BuiltIn.Wait_Until_Keyword_Succeeds 300s 10s ShardStability.Shards_Stability_Get_Details ${DEFAULT_SHARD_LIST}
+ BuiltIn.Wait_Until_Keyword_Succeeds 300s 10s ShardStability.Shards_Stability_Get_Details ${DEFAULT_SHARD_LIST} verify_restconf=True
ClusterManagement.Run_Bash_Command_On_List_Or_All ps -ef | grep java