diff options
author | Robbie Shade <robbie.shade@gmail.com> | 2015-08-13 19:07:17 -0400 |
---|---|---|
committer | Robbie Shade <robbie.shade@gmail.com> | 2015-08-13 19:07:17 -0400 |
commit | 5c45b940e7c49cca3bffea3effce5271f644c3de (patch) | |
tree | 3116f77759522bbe7013313029a430db66c1bf59 /tools/run_tests/jobset.py | |
parent | 00436a256dd81b10df5da1154f48b9f81056824b (diff) | |
parent | c49a48bd7545466d6535b0a548854ce8954ea045 (diff) |
Merge remote-tracking branch 'upstream/master' into add_udp_server_2
Diffstat (limited to 'tools/run_tests/jobset.py')
-rwxr-xr-x | tools/run_tests/jobset.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/run_tests/jobset.py b/tools/run_tests/jobset.py index b7e0089269..aa3f4bfb41 100755 --- a/tools/run_tests/jobset.py +++ b/tools/run_tests/jobset.py @@ -194,6 +194,10 @@ class Job(object): self._tempfile.seek(0) stdout = self._tempfile.read() filtered_stdout = filter(lambda x: x in string.printable, stdout.decode(errors='ignore')) + # TODO: looks like jenkins master is slow because parsing the junit results XMLs is not + # implemented efficiently. This is an experiment to workaround the issue by making sure + # results.xml file is small enough. + filtered_stdout = filtered_stdout[-128:] if self._xml_test is not None: self._xml_test.set('time', str(elapsed)) ET.SubElement(self._xml_test, 'system-out').text = filtered_stdout |