Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[RIC-430] - Update Connection Status on RAN List - release tag 5.4.5
[ric-plt/e2mgr.git]
/
Automation
/
Tests
/
Update_GNB
/
Update_gnb_happy.robot
diff --git
a/Automation/Tests/Update_GNB/Update_gnb_happy.robot
b/Automation/Tests/Update_GNB/Update_gnb_happy.robot
index
45cdb97
..
5dc8f4d
100644
(file)
--- 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
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Library OperatingSystem
+Library ../Scripts/log_scripts.py
+Library ../Scripts/k8s_helper.py
Library REST ${url}
Library REST ${url}
@@
-35,9
+37,12
@@
${url} ${e2mgr_address}
*** Test Cases ***
*** Test Cases ***
+Prepare Redis Monitor Log
+ Start Redis Monitor
+
Update gNB
Sleep 2s
Update gNB
Sleep 2s
- Update
Ran
request
+ Update
Gnb
request
Integer response status 200
String response body ranName ${ranname}
String response body connectionStatus CONNECTED
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
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