From 7d84c1e92f454ceb2159fcc17dd4338028d41f4d Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Fri, 12 Nov 2021 19:04:07 +0100 Subject: [PATCH] Report: Show min/avg/max latency for aws - fixes Change-Id: I119fa64da4b178cb6a8abe63fb16e0bc7f18fd70 Signed-off-by: Tibor Frank --- resources/tools/presentation/input_data_parser.py | 18 ++++++++---------- .../presentation/specifications/report/elements.yaml | 6 +++--- 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" -- 2.16.6