Change version after creation of r2 branch
[ric-plt/e2mgr.git] / Automation / Tests / RedButton / RedButton_CONNECTED_SHUTDOWN_CONNECTED.robot
index 23221d7..8891608 100755 (executable)
@@ -17,6 +17,7 @@
 ##############################################################################
 
 *** Settings ***
+Suite Setup   Prepare Enviorment
 Resource   ../Resource/resource.robot
 Resource   ../Resource/Keywords.robot
 Library     OperatingSystem
@@ -32,7 +33,7 @@ ${restart_docker_sim}      docker restart gnbe2_simu
 
 Prepare Ran in Connected connectionStatus
     Post Request setup node b x-2
-    Integer     response status       200
+    Integer     response status       204
     Sleep  1s
     GET      /v1/nodeb/test1
     Integer  response status  200
@@ -57,12 +58,12 @@ Restart simualtor
 
     Run And Return Rc And Output    ${restart_docker_sim}
     ${result}=  Run And Return Rc And Output     ${docker_command}
-    Should Be Equal As Integers    ${result[1]}    5
+    Should Be Equal As Integers    ${result[1]}    ${docker_number}
 
 
 repare Ran in Connected connectionStatus
     Post Request setup node b x-2
-    Integer     response status       200
+    Integer     response status       204
     Sleep  1s
     GET      /v1/nodeb/test1
     Integer  response status  200