X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FUpdate_GNB%2FUpdate_gnb_happy.robot;h=a1a1a5f19de7eaeb39c8027fbf2d07754c75b884;hb=0249b5fc410b6c6814906b185dfdf25b27621148;hp=45cdb97fa0fda6c020ff52d05e989353098ddd09;hpb=ef8e7b290c648ce0655c0fc0e8d0882fe31f2abc;p=ric-plt%2Fe2mgr.git diff --git a/Automation/Tests/Update_GNB/Update_gnb_happy.robot b/Automation/Tests/Update_GNB/Update_gnb_happy.robot index 45cdb97..a1a1a5f 100644 --- a/Automation/Tests/Update_GNB/Update_gnb_happy.robot +++ b/Automation/Tests/Update_GNB/Update_gnb_happy.robot @@ -27,6 +27,8 @@ Suite Setup Prepare Enviorment ${True} Resource ../Resource/resource.robot Resource ../Resource/Keywords.robot Library OperatingSystem +Library ../Scripts/log_scripts.py +Library ../Scripts/k8s_helper.py Library REST ${url} @@ -35,9 +37,12 @@ ${url} ${e2mgr_address} *** Test Cases *** +Prepare Redis Monitor Log + Start Redis Monitor + Update gNB Sleep 2s - Update Ran request + Update Gnb request Integer response status 200 String response body ranName ${ranname} String response body connectionStatus CONNECTED @@ -46,13 +51,17 @@ Update gNB String response body gnb servedNrCells 0 nrNeighbourInfos 0 nrCgi one String response body gnb servedNrCells 0 servedNrCellInformation servedPlmns 0 whatever +prepare logs for tests + Remove log files + Save logs +E2M Logs - Verify Update + Sleep 2s + ${result} log_scripts.verify_log_message ${EXECDIR}/${e2mgr_log_filename} ${update_gnb_log_message} + Should Be Equal As Strings ${result} True +Redis Monitor Logs - Verify Publish + Redis Monitor Logs - Verify Publish To Manipulation Channel ${ranName} UPDATED - - - - - - - +[Teardown] + Stop Redis Monitor \ No newline at end of file