X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Automation%2FTests%2FE2_Setup_Failure%2FRM_Error_Setup_Failure.robot;h=2b6af116970bcc40b700c5c3d924ff2d25a9bcef;hb=HEAD;hp=aca558fcfa35101c4ba39f6016b40b507b4485af;hpb=197657e0e814c871b903ef779ad654b13347e430;p=ric-plt%2Fe2mgr.git 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 --- 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 *** +Variables ../Scripts/variables.py 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} -Suite Teardown Start RoutingManager Simulator + +*** Variables *** +${url} ${e2mgr_address} *** 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 @@ -43,7 +46,7 @@ prepare logs for tests Get request gnb Sleep 2s - Get Request node b gnb + Get Request nodeb 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} - 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