diff options
author | Vratko Polak <vrpolak@cisco.com> | 2018-08-31 13:18:52 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2018-09-10 12:39:36 +0200 |
commit | 5f1749877b1fbd57c616933625aede0fb1243db7 (patch) | |
tree | ffc7509183b68f509ff69479dfda2eeb1382ff0d | |
parent | 8853921639f749a0e49e37759df2b973947977e3 (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>
-rw-r--r-- | resources/tools/presentation/input_data_parser.py | 8 | ||||
-rw-r--r-- | tests/__init__.robot | 4 |
2 files changed, 8 insertions, 4 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"] = \ diff --git a/tests/__init__.robot b/tests/__init__.robot index 106270f478..61301b4ec2 100644 --- a/tests/__init__.robot +++ b/tests/__init__.robot @@ -27,5 +27,5 @@ | | ... | perf_trial_multiplicity - Number of trials to execute in MRR test. | | ... | perf_trial_duration - Duration of one trial in MRR test. | | ... -| | Ensure Global Variable | perf_trial_multiplicity | 1 -| | Ensure Global Variable | perf_trial_duration | 10 +| | Ensure Global Variable | perf_trial_multiplicity | 10 +| | Ensure Global Variable | perf_trial_duration | 1 |