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
Handling e2 reset request & change status to reset
[ric-plt/e2mgr.git]
/
Automation
/
Tests
/
E2_Setup_Failure
/
RM_Error_Setup_Failure.robot
diff --git
a/Automation/Tests/E2_Setup_Failure/RM_Error_Setup_Failure.robot
b/Automation/Tests/E2_Setup_Failure/RM_Error_Setup_Failure.robot
index
aca558f
..
2b6af11
100644
(file)
--- a/
Automation/Tests/E2_Setup_Failure/RM_Error_Setup_Failure.robot
+++ b/
Automation/Tests/E2_Setup_Failure/RM_Error_Setup_Failure.robot
@@
-22,20
+22,23
@@
*** Settings ***
*** Settings ***
+Variables ../Scripts/variables.py
Suite Setup Prepare Enviorment
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
Suite Setup Prepare Enviorment
Resource ../Resource/resource.robot
Resource ../Resource/Keywords.robot
-Resource ../Resource/scripts_variables.robot
Library OperatingSystem
Library ../Scripts/find_rmr_message.py
Library REST ${url}
Library OperatingSystem
Library ../Scripts/find_rmr_message.py
Library REST ${url}
-Suite Teardown Start RoutingManager Simulator
+
+*** Variables ***
+${url} ${e2mgr_address}
*** Test Cases ***
*** Test Cases ***
-Stop Routing manager simulator and restarting simulator
- Stop RoutingManager Simulator
- Restart simulator with less docker
+Stop routing manager and restarting gnb simulator
+ Stop Routing Manager
+ Restart simulator
+ wait until keyword succeeds 2 min 10 sec Validate Required Dockers ${pods_number-1}
prepare logs for tests
Remove log files
prepare logs for tests
Remove log files
@@
-43,7
+46,7
@@
prepare logs for tests
Get request gnb
Sleep 2s
Get request gnb
Sleep 2s
- Get Request node
b gn
b
+ Get Request nodeb
Integer response status 200
String response body ranName ${ranname}
String response body connectionStatus DISCONNECTED
Integer response status 200
String response body ranName ${ranname}
String response body connectionStatus DISCONNECTED
@@
-57,4
+60,9
@@
Get request gnb
E2M Logs - Verify RMR Message
${result} find_rmr_message.verify_logs ${EXECDIR} ${e2mgr_log_filename} ${Setup_failure_message_type} ${None}
E2M Logs - Verify RMR Message
${result} find_rmr_message.verify_logs ${EXECDIR} ${e2mgr_log_filename} ${Setup_failure_message_type} ${None}
- Should Be Equal As Strings ${result} True
\ No newline at end of file
+ Should Be Equal As Strings ${result} True
+
+[Teardown]
+ Run Keywords
+ Start Routing Manager
+ AND Wait Until Keyword Succeeds 2 min 10 sec Validate Required Dockers
\ No newline at end of file