aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-11-12 19:04:07 +0100
committerTibor Frank <tifrank@cisco.com>2021-11-12 18:22:43 +0000
commitba3d0db9e169b5a8abc9ee5d5df0a45a12b2899c (patch)
tree860861d66dd6dda0525bc2332279b8ecb85e5ced
parent63abe705fbb425757c03bfa685d6a27404a97a8e (diff)
Report: Show min/avg/max latency for aws - fixes
Change-Id: I119fa64da4b178cb6a8abe63fb16e0bc7f18fd70 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 7d84c1e92f454ceb2159fcc17dd4338028d41f4d)
-rw-r--r--resources/tools/presentation/input_data_parser.py18
-rw-r--r--resources/tools/presentation/specifications/report/elements.yaml6
2 files changed, 11 insertions, 13 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 461d7b423d..4fdc7e3353 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -518,17 +518,15 @@ class ExecutionChecker(ResultVisitor):
)
if all(hdr_lat):
return hdr_lat
- else:
- hdr_lat = (
- in_list_1[0], in_list_1[1], in_list_1[2],
- in_list_2[0], in_list_2[1], in_list_2[2]
- )
- for item in hdr_lat:
- if item in (u"-1", u"4294967295", u"0"):
- return None
- return hdr_lat
- return None
+ hdr_lat = (
+ in_list_1[0], in_list_1[1], in_list_1[2],
+ in_list_2[0], in_list_2[1], in_list_2[2]
+ )
+ for item in hdr_lat:
+ if item in (u"-1", u"4294967295", u"0"):
+ return None
+ return hdr_lat
try:
out_msg = (
diff --git a/resources/tools/presentation/specifications/report/elements.yaml b/resources/tools/presentation/specifications/report/elements.yaml
index faba2b49c1..4f03293601 100644
--- a/resources/tools/presentation/specifications/report/elements.yaml
+++ b/resources/tools/presentation/specifications/report/elements.yaml
@@ -4173,7 +4173,7 @@
- type: "table"
title: "Detailed Test Results - VPP Performance Results 2n-dnv"
algorithm: "table_merged_details"
- output-file: "{DIR[DTR,PERF,VPP,2N,DNV]}/vpp_performance_results_2n_dnv"
+ output-file: "{DIR[DTR,PERF,VPP,2N,DNV]}/"
columns:
- title: " |prein| Test Name |preout| "
data: "data name"
@@ -4190,7 +4190,7 @@
- type: "table"
title: "Detailed Test Results - VPP Performance Results 2n-aws"
algorithm: "table_merged_details"
- output-file: "{DIR[DTR,PERF,VPP,2N,AWS]}/vpp_performance_results_2n_aws"
+ output-file: "{DIR[DTR,PERF,VPP,2N,AWS]}/"
columns:
- title: " |prein| Test Name |preout| "
data: "data name"
@@ -4207,7 +4207,7 @@
- type: "table"
title: "Detailed Test Results - VPP Performance Results 3n-aws"
algorithm: "table_merged_details"
- output-file: "{DIR[DTR,PERF,VPP,3N,AWS]}/vpp_performance_results_3n_aws"
+ output-file: "{DIR[DTR,PERF,VPP,3N,AWS]}/"
columns:
- title: " |prein| Test Name |preout| "
data: "data name"