X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fcontroller%2FThreeNodes_Datastore%2Fputs_during_isolation.robot;h=d7e19da6f202f95c0f347943316bd79e476d01bd;hb=99536236de83d87f80a13635b71d22a7b516b104;hp=093a810445dae508290a5409649898a43da3f5c8;hpb=967f534f762ce38f7cf2f1bb1139a8d9ab4205c0;p=integration%2Ftest.git diff --git a/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot b/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot index 093a810445..d7e19da6f2 100644 --- a/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot +++ b/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot @@ -60,7 +60,7 @@ Verify_Cars_Configured [Documentation] Verify that all cars are configured. BuiltIn.Wait_Until_Keyword_Succeeds 120x 2s SSHLibrary.Read_Until_Prompt ${session} = Resolve_Http_Session_For_Member member_index=${new_leader_index} - Verify_Cars_Count ${ITEM_COUNT} ${session} + BuiltIn.Wait_Until_Keyword_Succeeds 5x 2s Verify_Cars_Count ${ITEM_COUNT} ${session} Rejoin_Isolated_Member [Documentation] Rejoin isolated node @@ -130,7 +130,7 @@ Get_Cars_Count [Arguments] ${session} [Documentation] Count car items in config ds. ${resp}= RequestsLibrary.Get_Request ${session} ${CARURL} - ${count} = BuiltIn.Evaluate len(${resp.json()}["cars"]["car-entry"]) + ${count} = BuiltIn.Evaluate len(${resp.json()}[cars][car-entry]) BuiltIn.Return_From_Keyword ${count} Ensure_Cars_Being_Configured