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

Remove file delete duplicate code from test code

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.2, 3.6.0
    • tests
    • None

    Description

      Code to delete a folder recursive is written in multiple test files. Following are the files containing the same piece of code.

      src/java/systest/org/apache/zookeeper/test/system/QuorumPeerInstance.java
      src/java/test/org/apache/zookeeper/test/ClientBase.java
      src/java/test/org/apache/zookeeper/server/quorum/LearnerTest.java
      src/java/test/org/apache/zookeeper/server/quorum/Zab1_0Test.java
      

      Remove duplicate code from these files

      Attachments

        1. ZOOKEEPER-2306-01.patch
          11 kB
          Mohammad Arshad

        Activity

          People

            arshad.mohammad Mohammad Arshad
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: