summaryrefslogtreecommitdiffstats
path: root/utils/test
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-09-29 07:14:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-29 07:14:59 +0000
commit5b0ea72eccaa3d12348bd6ae8d68e8e747d7e957 (patch)
tree1a7209e1b95a0e2a946aa1dfc5f129b98f9094ed /utils/test
parentea3d8e4f58bc7d1a236870ce9461a36e6196842e (diff)
parent6113a369a62545c4d21d1fc73557f340f6f3e9d8 (diff)
Merge "Fix Bottlenecks status page cann't be shown."
Diffstat (limited to 'utils/test')
-rw-r--r--utils/test/reporting/reporting/bottlenecks/reporting-status.py6
1 files changed, 5 insertions, 1 deletions
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)