But keep the detection in PAL using only average, not size nor stdev.
Change-Id: I07092bdeb892c871550265757fd2846a36fbb352
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
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"] = \
| | ... | 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