X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=Automation%2FTests%2FConfigurationUpdate%2FConfigurationUpdate_Verify_logs.robot;h=9b209b068e68b4457bdc8a8a85218cffe5a177b3;hb=90dabe77526505ba05df6f57049ffca19a3b3bd9;hp=bc786bebd7b4620852acd326ffeb2de7b59d0ffd;hpb=4db397dbfa07d202f1a7134e1a7a52b8fb3b5d8a;p=ric-plt%2Fe2mgr.git
diff --git a/Automation/Tests/ConfigurationUpdate/ConfigurationUpdate_Verify_logs.robot b/Automation/Tests/ConfigurationUpdate/ConfigurationUpdate_Verify_logs.robot
index bc786be..9b209b0 100755
--- a/Automation/Tests/ConfigurationUpdate/ConfigurationUpdate_Verify_logs.robot
+++ b/Automation/Tests/ConfigurationUpdate/ConfigurationUpdate_Verify_logs.robot
@@ -18,37 +18,39 @@
*** Settings ***
+Resource ../Resource/resource.robot
+Resource ../Resource/scripts_variables.robot
Library String
Library OperatingSystem
Library Process
-Library ${CURDIR}/verifylogs.py
+Library ../Scripts/find_rmr_message.py
+
*** Test Cases ***
Verify logs - Confiugration update - Begin Tag Get
${Configuration}= Grep File ./gnb.log
- #Log to console ${Configuration}
${ConfigurationAfterStrip}= Strip String ${Configuration}
Should Be Equal ${ConfigurationAfterStrip}
Verify logs - Confiugration update - End Tag Get
${ConfigurationEnd}= Grep File ./gnb.log
- #Log to console ${ConfigurationEnd}
${ConfigurationEndAfterStrip}= Strip String ${ConfigurationEnd}
Should Be Equal ${ConfigurationEndAfterStrip}
Verify logs - Confiugration update - Ack Tag Begin
${ConfigurationAck}= Grep File ./gnb.log
- #Log to console ${ConfigurationEnd}
${ConfigurationAckAfter}= Strip String ${ConfigurationAck}
Should Be Equal ${ConfigurationAckAfter}
Verify logs - Confiugration update - Ack Tag End
${ConfigurationAckEnd}= Grep File ./gnb.log
- #Log to console ${ConfigurationEnd}
${ConfigurationAckEndAfterStrip}= Strip String ${ConfigurationAckEnd}
Should Be Equal ${ConfigurationAckEndAfterStrip}
-Verify logs - e2mgr logs
- ${result} verifylogs.verify ${EXECDIR}
- Should Be Equal As Strings ${result} True
\ No newline at end of file
+Verify logs - find RIC_ENDC_CONF_UPDATE
+ ${result} find_rmr_message.verify_logs ${EXECDIR} ${e2mgr_log_filename} ${configurationupdate_message_type} ${Meid_test1}
+ Should Be Equal As Strings ${result} True
+Verify logs - find RIC_ENDC_CONF_UPDATE_ACK
+ ${result1} find_rmr_message.verify_logs ${EXECDIR} ${e2mgr_log_filename} ${configurationupdate_ack_message_type} ${Meid_test1}
+ Should Be Equal As Strings ${result1} True