Fixes the sample test XML format to have a proper failure tag. RELNOTES: None PiperOrigin-RevId: 174803631
diff --git a/src/test/shell/bazel/remote_execution_test.sh b/src/test/shell/bazel/remote_execution_test.sh index 2dd63be..054123e 100755 --- a/src/test/shell/bazel/remote_execution_test.sh +++ b/src/test/shell/bazel/remote_execution_test.sh
@@ -271,8 +271,10 @@ f.write(''' <?xml version="1.0" encoding="UTF-8"?> <testsuites> - <testsuite name="test" tests="1" failures="0" errors="1"> - <testcase name="first" status="run">That did not work!</testcase> + <testsuite name="test" tests="1" failures="1" errors="1"> + <testcase name="first" status="run"> + <failure>That did not work!</failure> + </testcase> </testsuite> </testsuites> ''') @@ -308,8 +310,10 @@ f.write(''' <?xml version="1.0" encoding="UTF-8"?> <testsuites> - <testsuite name="test" tests="1" failures="0" errors="1"> - <testcase name="first" status="run">That did not work!</testcase> + <testsuite name="test" tests="1" failures="1" errors="1"> + <testcase name="first" status="run"> + <failure>That did not work!</failure> + </testcase> </testsuite> </testsuites> ''')