X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=csit%2Flibraries%2FShardStability.robot;h=db2e437319e069c3fec292c97edf08d3632b6b11;hp=89d4f0c6a1231ffebbea82491ce603ca1f4f5171;hb=94651ca9711d8eb316721775561e815830bc6c7e;hpb=89b88a0a23561f0bda62338b394ec41655679b2d diff --git a/csit/libraries/ShardStability.robot b/csit/libraries/ShardStability.robot index 89d4f0c6a1..db2e437319 100644 --- a/csit/libraries/ShardStability.robot +++ b/csit/libraries/ShardStability.robot @@ -36,13 +36,14 @@ Shards_Stability_Get_Details [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=${verify_restconf} http_timeout=${http_timeout} - \ 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} + 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=${verify_restconf} http_timeout=${http_timeout} + 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} + END BuiltIn.Return_From_Keyword ${shards_details} Shards_Stability_Verify