Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1680

TestLeaderInstallSnapshot creates untracked files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.0
    • test
    • None

    Description

      TestLeaderInstallSnapshot leaves untracked files in ratis-test/snapshot directory.

      repro
      $ mvn clean test -DfailIfNoTests=false -Dtest=TestLeaderInstallSnapshot
      ...
      $ git status
      On branch master
      Your branch is up to date with 'origin/master'.
      
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      
      	ratis-test/snapshot/
      
      nothing added to commit but untracked files present (use "git add" to track)
      
      $ find ratis-test/snapshot | sort
      ratis-test/snapshot
      ratis-test/snapshot/1.bin
      ratis-test/snapshot/sub
      ratis-test/snapshot/sub/2.bin
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h