X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Finput_data_parser.py;h=89e11bbe959fc089bf4720eec2fdf0aaeaa649d9;hb=2e6fbdb290ab6128403f1f6edcc6072644843f77;hp=340b7dc372bb3e6b94f2ae1a4fb9cb810c3712ec;hpb=344ea908c94faf37a10f23627b2f5656ea3e289b;p=csit.git diff --git a/resources/tools/presentation/input_data_parser.py b/resources/tools/presentation/input_data_parser.py index 340b7dc372..89e11bbe95 100644 --- a/resources/tools/presentation/input_data_parser.py +++ b/resources/tools/presentation/input_data_parser.py @@ -698,7 +698,7 @@ class ExecutionChecker(ResultVisitor): self._data["tests"][self._test_ID] = test_result logging.error("The test '{0}' has no or more than one " "multi-threading tags.".format(self._test_ID)) - logging.error("Tags: {0}".format(test_result["tags"])) + logging.debug("Tags: {0}".format(test_result["tags"])) return if test.status == "PASS" and ("NDRPDRDISC" in tags or @@ -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"] = \