X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fbgpcep%2Fbgpclustering%2F060_pcep_ha_karaf_restart.robot;h=a9b5de12f0c62215bd3df4f7067bdc6d46dcb531;hb=f08fb5f92c3c46074bf91aaf546d9d411ccd0e84;hp=298bb2ff22636b188358bacb88294a682fde7707;hpb=da45a56394d29a40f9644a790bb28a00c38f6f3e;p=integration%2Ftest.git diff --git a/csit/suites/bgpcep/bgpclustering/060_pcep_ha_karaf_restart.robot b/csit/suites/bgpcep/bgpclustering/060_pcep_ha_karaf_restart.robot index 298bb2ff22..a9b5de12f0 100644 --- a/csit/suites/bgpcep/bgpclustering/060_pcep_ha_karaf_restart.robot +++ b/csit/suites/bgpcep/bgpclustering/060_pcep_ha_karaf_restart.robot @@ -33,6 +33,8 @@ ${HOLDTIME} 180 ${DIR_WITH_TEMPLATES} ${CURDIR}/../../../variables/bgpclustering/ ${PCC_LOG_FILE} pccmock.restart.log ${CONFIG_SESSION} session +${OLD_ERROR_ARGS} \n"last-received-error": {},\n"last-sent-error": {}, +${NEW_ERROR_ARGS} ${EMPTY} *** Test Cases *** Get_Example_Pcep_Owner @@ -103,6 +105,8 @@ Setup_Everything ${code}= Evaluate binascii.b2a_base64('${pcc_name}')[:-1] modules=binascii BuiltIn.Set_Suite_Variable ${pcc_name_code} ${code} PcepOperations.Pcep_Topology_Precondition ${CONFIG_SESSION} + ${ERROR_ARGS} = CompareStream.Set_Variable_If_At_Least_Neon ${NEW_ERROR_ARGS} ${OLD_ERROR_ARGS} + BuiltIn.Set_Suite_Variable ${ERROR_ARGS} Start_Pcc_Mock Teardown_Everything @@ -118,7 +122,7 @@ Start_Pcc_Mock Pcep_Topology_Postcondition [Documentation] Verifies if the tool reported expected data - &{mapping} BuiltIn.Create_Dictionary IP=${TOOLS_SYSTEM_IP} CODE=${pcc_name_code} NAME=${pcc_name} IP_ODL=${ODL_SYSTEM_${pcep_owner}_IP} + &{mapping} BuiltIn.Create_Dictionary IP=${TOOLS_SYSTEM_IP} CODE=${pcc_name_code} NAME=${pcc_name} IP_ODL=${ODL_SYSTEM_${pcep_owner}_IP} ERRORS=${ERROR_ARGS} BuiltIn.Wait_Until_Keyword_Succeeds 10x 5s TemplatedRequests.Get_As_Json_Templated ${DIR_WITH_TEMPLATES}${/}pcep_on_state ${mapping} ${living_session} ... verify=True