Move from snaps_healthcheck to connection_check 87/29487/1
authorMorgan Richomme <morgan.richomme@orange.com>
Tue, 28 Feb 2017 14:38:16 +0000 (15:38 +0100)
committerMorgan Richomme <morgan.richomme@orange.com>
Tue, 28 Feb 2017 14:38:16 +0000 (15:38 +0100)
to retireve scenario
lxd based scenarios are not running snaps_healthcheck

Change-Id: I34a86b5b8d0e1dffda40e6173196eb9409c448a0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
utils/test/reporting/functest/reporting-status.py

index 69be20e..95f9e66 100755 (executable)
@@ -28,9 +28,9 @@ testValid = []
 otherTestCases = []
 reportingDate = datetime.datetime.now().strftime("%Y-%m-%d %H:%M")
 
-# init just snaps_health_check to get the list of scenarios
-# as all the scenarios run snaps_health_check
-snaps_health_check = tc.TestCase("snaps_health_check", "functest", -1)
+# init just connection_check to get the list of scenarios
+# as all the scenarios run connection_check
+healthcheck = tc.TestCase("connection_check", "functest", -1)
 
 # Retrieve the Functest configuration to detect which tests are relevant
 # according to the installer, scenario
@@ -92,7 +92,7 @@ for version in versions:
     # For all the installers
     for installer in installers:
         # get scenarios
-        scenario_results = rp_utils.getScenarios(snaps_health_check,
+        scenario_results = rp_utils.getScenarios(healthcheck,
                                                  installer,
                                                  version)
         scenario_stats = rp_utils.getScenarioStats(scenario_results)