Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2191

Continue supporting prior Ant versions that don't implement the threads attribute for the JUnit task.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.2, 3.6.0
    • Component/s: build
    • Labels:
      None

      Description

      ZOOKEEPER-2183 introduced usage of the threads attribute on the <junit> task call in build.xml to speed up test execution. This attribute is only available since Ant 1.9.4. However, we can continue to support older Ant versions by calling the <antversion> task and dispatching to a clone of our <junit> task call that doesn't use the threads attribute. Users of older Ant versions will get the slower single-process test execution.

        Attachments

        1. ZOOKEEPER-2191.001.patch
          7 kB
          Chris Nauroth
        2. ZOOKEEPER-2191.002.patch
          7 kB
          Chris Nauroth

        Issue Links

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment