[RIC-621] - Fix Automation
[ric-plt/e2mgr.git] / Automation / Tests / Health / get_health_check_unhappy.robot
index 2ca3e26..f17d291 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/Keywords.robot
 Resource   ../Resource/resource.robot
 Library     OperatingSystem
 Library     REST      ${url}
-Suite Teardown   Start Dbass
-
 
+*** Variables ***
+${url}  ${e2mgr_address}
 
 *** Test Cases ***
 Get Health Unhappy - Dbass down
     Stop Dbass
+
     GET     /v1/health
     Integer     response status       500
 
+Prepare logs
+    Remove log files
+    Save logs
+
+[Teardown]
+    Run Keywords
+    Start Dbass
+    AND wait until keyword succeeds  2 min    10 sec    Validate Required Dockers
+