X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fbgpcep%2Fbgpclustering%2FPrefixcountKeywords.robot;h=506b41f946f64e0ee08e456f64aff68afef88a40;hb=HEAD;hp=a856f23d9877f248dbf13bd819eae3c619184e1f;hpb=a5e7e4e1ca473faadeda091f3fc23cad43de8f94;p=integration%2Ftest.git diff --git a/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot b/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot index a856f23d98..506b41f946 100644 --- a/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot +++ b/csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot @@ -136,8 +136,11 @@ Verify_Bgp_Peer_Connection [Arguments] ${session} ${peer_ip} ${connected}=${True} # TODO: This keyword is not specific to prefix counting. Find a better place for it. ${peer_check_url} = BuiltIn.Set_Variable ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F - ${exp_status_code} = BuiltIn.Set_Variable_If ${connected} ${200} ${404} - ${rsp} = RequestsLibrary.GET On Session ${session} ${peer_check_url}${peer_ip}?content=nonconfig expected_status=${exp_status_code} + ${exp_status_code} = BuiltIn.Set_Variable_If ${connected} 200 404 + ${rsp} = RequestsLibrary.GET On Session + ... ${session} + ... url=${peer_check_url}${peer_ip}?content=nonconfig + ... expected_status=${exp_status_code} BuiltIn.Log ${rsp.content} Set_Shard_Leaders_Location_And_Verify