From 6113a369a62545c4d21d1fc73557f340f6f3e9d8 Mon Sep 17 00:00:00 2001 From: liyin Date: Fri, 29 Sep 2017 14:41:46 +0800 Subject: Fix Bottlenecks status page cann't be shown. Change-Id: Ia1ad4c0654ad2dea7fdb61b81725af9aaafc4750 Signed-off-by: liyin --- utils/test/reporting/reporting/bottlenecks/reporting-status.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'utils/test') diff --git a/utils/test/reporting/reporting/bottlenecks/reporting-status.py b/utils/test/reporting/reporting/bottlenecks/reporting-status.py index 8966d0690..225227ac3 100644 --- a/utils/test/reporting/reporting/bottlenecks/reporting-status.py +++ b/utils/test/reporting/reporting/bottlenecks/reporting-status.py @@ -37,10 +37,14 @@ for version in VERSIONS: # For all the installers for installer in INSTALLERS: # get scenarios results data + if version != 'master': + new_version = "stable/{}".format(version) + else: + new_version = version scenario_results = rp_utils.getScenarios("bottlenecks", "posca_factor_ping", installer, - version) + new_version) LOGGER.info("scenario_results: %s", scenario_results) scenario_stats = rp_utils.getScenarioStats(scenario_results) -- cgit 1.2.3-korg