X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fcontroller%2FThreeNodes_Datastore%2Fputs_during_isolation.robot;h=e88f814ed60024e64eb10fcd9b1c2f27d15ac424;hb=f80b6fad1de20c2a0cc39edcbe8648ae00cc5ffc;hp=1db8fd14191ce2027482be01b686e2504e6c8e58;hpb=c49ad0e5f9a58bfd6c4512f40b8c61a842032fd7;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 1db8fd1419..e88f814ed6 100644 --- a/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot +++ b/csit/suites/controller/ThreeNodes_Datastore/puts_during_isolation.robot @@ -16,12 +16,13 @@ Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing Default Tags critical Library RequestsLibrary Library SSHLibrary -Resource ${CURDIR}/../../../variables/Variables.robot -Resource ${CURDIR}/../../../libraries/Utils.robot -Resource ${CURDIR}/../../../libraries/SetupUtils.robot -Resource ${CURDIR}/../../../libraries/RemoteBash.robot -Resource ${CURDIR}/../../../libraries/ClusterManagement.robot Resource ${CURDIR}/../../../libraries/CarPeople.robot +Resource ${CURDIR}/../../../libraries/ClusterManagement.robot +Resource ${CURDIR}/../../../libraries/RemoteBash.robot +Resource ${CURDIR}/../../../libraries/SetupUtils.robot +Resource ${CURDIR}/../../../libraries/TemplatedRequests.robot +Resource ${CURDIR}/../../../libraries/Utils.robot +Resource ${CURDIR}/../../../variables/Variables.robot *** Variables *** ${ITEM_COUNT} ${10000} @@ -72,7 +73,7 @@ Delete Cars ${rsp}= RequestsLibrary.Delete Request ${session} ${CARURL} Should Be Equal As Numbers 200 ${rsp.status_code} ${rsp}= RequestsLibrary.Get Request ${session} ${CARURL} - Should Be Equal As Numbers 404 ${rsp.status_code} + Should Be Equal As Numbers ${DELETED_STATUS_CODES} ${rsp.status_code} *** Keywords *** Start Suite @@ -130,7 +131,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