[RICPLT-2590] US completion........
[ric-plt/e2mgr.git] / Automation / Tests / Lost_Connection / Lost_Connetion_CONNECTING_TO_DISCONNECTED.robot
index 8415c47..90002eb 100644 (file)
 #   limitations under the License.
 #
 ##############################################################################
+#
+#   This source code is part of the near-RT RIC (RAN Intelligent Controller)
+#   platform project (RICP).
+#
 *** Settings ***
 Suite Setup   Prepare Enviorment
 Resource   ../Resource/resource.robot
@@ -32,13 +36,13 @@ Library     REST      ${url}
 Pre Condition for Connecting - no simu
     Run And Return Rc And Output    ${stop_simu}
     ${result}=  Run And Return Rc And Output     ${docker_command}
-    Should Be Equal As Integers    ${result[1]}    4
+    Should Be Equal As Integers    ${result[1]}    ${docker_number-1}
 
 
 Prepare Ran in Connecting connectionStatus
     Sleep  1s
     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
@@ -48,7 +52,7 @@ Prepare Ran in Connecting connectionStatus
 
 
 Verfiy Disconnected ConnectionStatus
-    Sleep    1s
+    Sleep    10s
     GET      /v1/nodeb/test1
     Integer  response status  200
     String   response body ranName    test1