Automation fixes
[ric-plt/e2mgr.git] / Automation / Tests / Reset_RAN_TO_RIC_2 / Reset_Verify_logs.robot
index 583d11b..162c109 100644 (file)
@@ -23,6 +23,7 @@ Library     OperatingSystem
 Library     Process
 Library     ${CURDIR}/Reset_Ran_To_Ric_RNIB_Down_Verify_logs.py
 Resource   ../Resource/Keywords.robot
+Test Teardown  Start Redis with 4 dockers
 
 
 
@@ -35,4 +36,13 @@ Verify logs - Reset Sent by simulator
 Verify logs - e2mgr logs
    ${result}    Reset_Ran_To_Ric_RNIB_Down_Verify_logs.verify   ${EXECDIR}
    log to console   ${result}
-   Should Be Equal As Strings    ${result}      True
\ No newline at end of file
+   Should Be Equal As Strings    ${result}      True
+
+
+*** Keywords ***
+Start Redis with 4 dockers
+     Run And Return Rc And Output    ${redis_remove}
+     Run And Return Rc And Output    ${start_redis}
+     ${result}=  Run And Return Rc And Output     ${docker_command}
+     Should Be Equal As Integers    ${result[1]}    4
+     Sleep  5s