X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FShardStability.robot;h=89d4f0c6a1231ffebbea82491ce603ca1f4f5171;hb=7f67568b1ce57408a52ec29ba80c28f9c99ca5de;hp=a4e6acea942a752e5b5ee70eadc8d38d89a42a57;hpb=a0dca31fac6f45fbc32a64295a361dd93634333c;p=integration%2Ftest.git diff --git a/csit/libraries/ShardStability.robot b/csit/libraries/ShardStability.robot index a4e6acea94..89d4f0c6a1 100644 --- a/csit/libraries/ShardStability.robot +++ b/csit/libraries/ShardStability.robot @@ -21,7 +21,7 @@ Resource ${CURDIR}/ClusterManagement.robot *** Variables *** &{stored_details} -@{DEFAULT_SHARD_LIST} default:config default:operational topology:config topology:operational inventory:config inventory:operational +@{DEFAULT_SHARD_LIST} default:config default:operational topology:config topology:operational inventory:config inventory:operational entity-ownership:operational *** Keywords *** Shards_Stability_Init_Details @@ -32,7 +32,7 @@ Shards_Stability_Init_Details BuiltIn.Set_Suite_Variable ${stored_details} ${shards_details} Shards_Stability_Get_Details - [Arguments] ${shard_list} ${member_index_list}=${EMPTY} ${verify_restconf}=False ${http_timeout}=5 + [Arguments] ${shard_list} ${member_index_list}=${EMPTY} ${verify_restconf}=False ${http_timeout}=${EMPTY} [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 @@ -69,13 +69,13 @@ Set_Shard_Location ClusterAdmin.Make_Leader_Local ${requested_leader_idx} topology operational Verify_Shard_Leader_Located_As_Expected - [Arguments] ${expected_leader_idx} + [Arguments] ${expected_leader_idx} ${http_timeout}=${EMPTY} [Documentation] Verify default/topology config/operational shard leader location is as expected - ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=default shard_type=config verify_restconf=False + ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=default shard_type=config verify_restconf=False http_timeout=${http_timeout} BuiltIn.Should_Be_Equal_As_Numbers ${expected_leader_idx} ${leader} - ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=default shard_type=operational verify_restconf=False + ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=default shard_type=operational verify_restconf=False http_timeout=${http_timeout} BuiltIn.Should_Be_Equal_As_Numbers ${expected_leader_idx} ${leader} - ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=topology shard_type=config verify_restconf=False + ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=topology shard_type=config verify_restconf=False http_timeout=${http_timeout} BuiltIn.Should_Be_Equal_As_Numbers ${expected_leader_idx} ${leader} - ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=topology shard_type=operational verify_restconf=False + ${leader} ${follower_list} = ClusterManagement.Get_Leader_And_Followers_For_Shard shard_name=topology shard_type=operational verify_restconf=False http_timeout=${http_timeout} BuiltIn.Should_Be_Equal_As_Numbers ${expected_leader_idx} ${leader}