*** Settings *** Documentation This test reads the data from the leader that was written to the follower by the previous test Library ../../../libraries/CrudLibrary.py Library ../../../libraries/ClusterStateLibrary.py *** Variables *** ${SHARD} shard-car-config *** Test Cases *** Find Leader [Documentation] find new leader ${NEW_LEADER} GetLeader ${SHARD} ${3} ${3} ${2} ${8181} ${MEMBER1} ${MEMBER2} ${MEMBER3} Log ${NEW_LEADER} Set Suite Variable ${NEW_LEADER} Get cars from new leader [Documentation] get 40 cars from new leader ${resp} Getcars ${NEW_LEADER} ${PORT} ${0} Should Be Equal As Strings ${resp.status_code} 200 Should Contain ${resp.content} manufacturer1 Should Contain ${resp.content} manufacturer40 Should Not Contain ${resp.content} manufacturer50 Get people from new leader [Documentation] get 40 people from new leader ${resp} GetPersons ${NEW_LEADER} ${PORT} ${0} Should Be Equal As Strings ${resp.status_code} 200 Should Contain ${resp.content} user2 Should Contain ${resp.content} user40 Should Not Contain ${resp.content} user50 Get car-person mappings at new leader [Documentation] Get car-person mappings using last to see 40 entry ${resp} GetCarPersonMappings ${NEW_LEADER} ${PORT} ${0} Should Be Equal As Strings ${resp.status_code} 200 Should Contain ${resp.content} user5 Should Contain ${resp.content} user40