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

support method-level JUnit testcase

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.5.1, 3.6.0
    • tests
    • None
    • Patch

    Description

      Currently, a user can execute class-level single test, but cannot execute method-level ones.

      This patch adds a support for method-level single test so as to facilitate ease of debugging failing tests (like ZOOKEEPER-2080).

      Class-level test (exists in current version)

      $ ant -Dtestcase=ReconfigRecoveryTest test-core-java

      Method-level test (proposal)

      $ ant -Dtestcase=ReconfigRecoveryTest -Dtest.method=testCurrentObserverIsParticipantInNewConfig test-core-java

      Attachments

        1. ZOOKEEPER-2223.patch
          2 kB
          Akihiro Suda
        2. ZOOKEEPER-2223-v2.patch
          34 kB
          Akihiro Suda
        3. ZOOKEEPER-2223-v3.patch
          73 kB
          Akihiro Suda
        4. ZOOKEEPER-2223-v4.patch
          73 kB
          Akihiro Suda

        Activity

          People

            suda Akihiro Suda
            suda Akihiro Suda
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: