From 1c780e79c6d739a785062a7a07d7032a3c2ff749 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 7 Mar 2019 07:06:55 -0800 Subject: [PATCH] Fix ansible-test junit timeout xml output. --- test/runner/lib/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/lib/test.py b/test/runner/lib/test.py index ae9167785d..857a5b24a2 100644 --- a/test/runner/lib/test.py +++ b/test/runner/lib/test.py @@ -202,7 +202,7 @@ class TestTimeout(TestResult): path = self.create_path('junit', '.xml') with open(path, 'w') as junit_fd: - junit_fd.write(xml) + junit_fd.write(xml.lstrip()) class TestSuccess(TestResult):