[RIC-621] Add redis monitor verification to automation tests
[ric-plt/e2mgr.git] / Automation / Tests / Unhappy / Get_Nodeb_HttpResponse500.robot
index e930989..c74f1c6 100644 (file)
 #   limitations under the License.
 #
 ##############################################################################
+#
+#   This source code is part of the near-RT RIC (RAN Intelligent Controller)
+#   platform project (RICP).
+#
 
 *** Settings ***
+Variables  ../Scripts/variables.py
 Suite Setup   Prepare Enviorment
-Resource    ../Resource/scripts_variables.robot
 Resource   ../Resource/Keywords.robot
 Resource   ../Resource/resource.robot
 Library    ../Scripts/find_error_script.py
 Library     OperatingSystem
 Library     REST      ${url}
-Suite Teardown   Start Dbass
+
+*** Variables ***
+${url}  ${e2mgr_address}
 
 *** Test Cases ***
 Get node b gnb - DB down - 500
@@ -47,3 +53,6 @@ Verify e2mgr logs - Third retry to retrieve from db
    ${result}    find_error_script.find_error     ${EXECDIR}  ${e2mgr_log_filename}   ${third_retry_to_retrieve_from_db}
    Should Be Equal As Strings    ${result}      True
 
+[Teardown]    Run Keywords
+              Start Dbass
+              AND wait until keyword succeeds  1 min    10 sec    Validate Required Dockers
\ No newline at end of file