Inaccurate aggregation of multiple xmls containing case information about the same testsuite

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When the same testsuite appears in multiple result xmls; the current aggregation logic fails to aggregate neither the sum of the testcases - and neither the total testclass runtime - instead it reports only 1 testclass'es runtime.

      example xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <testsuites name="Automation Tests" tests="2" errors="0" failures="0" ignored="0">
          <testsuite name="test.fs.FileSystemTests" time="50">
            <testcase name="testPrefix1" classname="test.fs.FileSystemTest1" time="10"/>
          </testsuite>
          <testsuite name="test.fs.FileSystemTests" time="50">
            <testcase name="testPrefix2" classname="test.fs.FileSystemTest1" time="10"/>
          </testsuite>
      </testsuites>
      

      in the above example the runtime of test.fs.FileSystemTests should be 100

      Encountered during hive / maven 2.19.1 upgrade..details:
      https://issues.apache.org/jira/browse/HIVE-14572

            Assignee:
            Zoltán Haindrich
            Reporter:
            Zoltán Haindrich
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: