diff options
Diffstat (limited to 'csit.infra.dash/app/cdash')
-rw-r--r-- | csit.infra.dash/app/cdash/report/graphs.py | 15 | ||||
-rw-r--r-- | csit.infra.dash/app/cdash/utils/constants.py | 1 |
2 files changed, 13 insertions, 3 deletions
diff --git a/csit.infra.dash/app/cdash/report/graphs.py b/csit.infra.dash/app/cdash/report/graphs.py index cff5bb6b02..6b7fd12850 100644 --- a/csit.infra.dash/app/cdash/report/graphs.py +++ b/csit.infra.dash/app/cdash/report/graphs.py @@ -128,9 +128,18 @@ def graph_iterative(data: pd.DataFrame, sel:dict, layout: dict, y_tput_max = max(max(y_data), y_tput_max) nr_of_samples = len(y_data) - c_data = list() - for _, row in itm_data.iterrows(): - c_data.append(f"{row['job']}/{row['build']}") + + if itm["testtype"] == "mrr": + c_data = [ + ( + f"{itm_data['job'].to_list()[0]}/", + f"{itm_data['build'].to_list()[0]}" + ), + ] * nr_of_samples + else: + c_data = list() + for _, row in itm_data.iterrows(): + c_data.append(f"{row['job']}/{row['build']}") tput_kwargs = dict( y=y_data, name=( diff --git a/csit.infra.dash/app/cdash/utils/constants.py b/csit.infra.dash/app/cdash/utils/constants.py index 5f5d40aea7..2ed29eef77 100644 --- a/csit.infra.dash/app/cdash/utils/constants.py +++ b/csit.infra.dash/app/cdash/utils/constants.py @@ -179,6 +179,7 @@ class Constants: "3n-aws": 1.000, "3n-dnv": 2.000, "3n-icx": 2.600, + "3n-icxd": 2.000, "3n-skx": 2.500, "3n-tsh": 2.200, "3n-snr": 2.200, |