diff options
author | Viliam Luc <vluc@cisco.com> | 2021-12-17 15:26:36 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-01-18 09:14:49 +0000 |
commit | 18f2763797ff782f9068550fc2f01cad4d7056af (patch) | |
tree | cb19545a4217ec2190296a3877feae0f59a34463 /resources/tools/presentation/generator_alerts.py | |
parent | 5f75d8f5ac0c4c7316dafd75c372b9f6c40aaae6 (diff) |
trending: new view in regressions and progressions
Signed-off-by: Viliam Luc <vluc@cisco.com>
Change-Id: I8524319a215ff551cf67c30d0b08ddae69883f61
Diffstat (limited to 'resources/tools/presentation/generator_alerts.py')
-rw-r--r-- | resources/tools/presentation/generator_alerts.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/resources/tools/presentation/generator_alerts.py b/resources/tools/presentation/generator_alerts.py index c3bf81d7ff..807f1b035c 100644 --- a/resources/tools/presentation/generator_alerts.py +++ b/resources/tools/presentation/generator_alerts.py @@ -363,7 +363,7 @@ class Alerting: :param idx: Index of the test set as it is specified in the specification file. :param header: The header of the list of [re|pro]gressions. - :param re_pro: 'regression' or 'progression'. + :param re_pro: 'regressions' or 'progressions'. :type alert: dict :type idx: int :type header: str @@ -408,8 +408,8 @@ class Alerting: text = u"" - legend = (f"Legend:\n[ Last trend in Mpps | number of runs for " - f"last trend |") + legend = (f"Legend: Test-name NIC Frame-size Trend[Mpps] Runs[#] " + f"Long-Term change[%]") out_file = ( f"{self.configs[alert[u'way']][u'output-dir']}/" @@ -417,7 +417,7 @@ class Alerting: ) try: with open(out_file, u'w') as reg_file: - reg_file.write(f"{legend} regressions ]") + reg_file.write(legend) except IOError: logging.error(f"Not possible to write the file {out_file}.txt.") @@ -427,7 +427,7 @@ class Alerting: ) try: with open(out_file, u'w') as reg_file: - reg_file.write(f"{legend} progressions ]") + reg_file.write(legend) except IOError: logging.error(f"Not possible to write the file {out_file}.txt.") |