Automation fixes
[ric-plt/e2mgr.git] / Automation / Tests / Resource / Keywords.robot
index 20b4e3a..94fc870 100755 (executable)
@@ -23,12 +23,16 @@ Resource   ../Resource/resource.robot
 Library     OperatingSystem
 
 
+
+
+
 *** Keywords ***
 Post Request setup node b x-2
     Set Headers     ${header}
     POST        /v1/nodeb/x2-setup    ${json}
 
 
+
 Get Request node b enb test1
     Sleep    1s
     GET      /v1/nodeb/test1
@@ -38,10 +42,15 @@ Get Request node b enb test2
     Sleep    1s
     GET      /v1/nodeb/test2
 
+
+
 Post Request setup node b endc-setup
     Set Headers     ${header}
     POST        /v1/nodeb/endc-setup    ${endcjson}
 
+Stop Simulator
+    Run And Return Rc And Output    ${stop_simu}
+
 
 Prepare Simulator For Load Information
      Run And Return Rc And Output    ${stop_simu}
@@ -59,7 +68,9 @@ Prepare Enviorment
      Run And Return Rc And Output    ${docker_Remove}
      Run And Return Rc And Output    ${run_simu_regular}
      Run And Return Rc And Output    ${restart_e2adapter}
+     Sleep  2s
      ${result}=  Run And Return Rc And Output     ${docker_command}
+     log to console   ${result}
      Should Be Equal As Integers    ${result[1]}    5
 
 Start E2