aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2018-08-31 13:18:52 +0200
committerVratko Polak <vrpolak@cisco.com>2018-09-10 12:39:36 +0200
commit5f1749877b1fbd57c616933625aede0fb1243db7 (patch)
treeffc7509183b68f509ff69479dfda2eeb1382ff0d /resources/tools/presentation
parent8853921639f749a0e49e37759df2b973947977e3 (diff)
CSIT-1179: Switch MRR to multiple trials
But keep the detection in PAL using only average, not size nor stdev. Change-Id: I07092bdeb892c871550265757fd2846a36fbb352 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/input_data_parser.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py
index 340b7dc372..a35a454aa2 100644
--- a/resources/tools/presentation/input_data_parser.py
+++ b/resources/tools/presentation/input_data_parser.py
@@ -765,8 +765,12 @@ class ExecutionChecker(ResultVisitor):
items_str = groups.group(1)
items_float = [float(item.strip()) for item
in items_str.split(",")]
- test_result["result"]["receive-rate"] = \
- AvgStdevMetadataFactory.from_data(items_float)
+ metadata = AvgStdevMetadataFactory.from_data(items_float)
+ # Next two lines have been introduced in CSIT-1179,
+ # to be removed in CSIT-1180.
+ metadata.size = 1
+ metadata.stdev = 0.0
+ test_result["result"]["receive-rate"] = metadata
else:
groups = re.search(self.REGEX_MRR, test.message)
test_result["result"]["receive-rate"] = \