ctubbsii commented on a change in pull request #1553: Simplify some 
VolumeManager tooling
URL: https://github.com/apache/accumulo/pull/1553#discussion_r389858019
 
 

 ##########
 File path: 
server/tserver/src/test/java/org/apache/accumulo/tserver/log/SortedLogRecoveryTest.java
 ##########
 @@ -71,6 +70,10 @@
   static final Text cq = new Text("cq");
   static final Value value = new Value("value");
 
+  @Rule
+  public TemporaryFolder tempFolder =
+      new TemporaryFolder(new File(System.getProperty("user.dir") + 
"/target"));
 
 Review comment:
   The argument to the constructor is the parent folder in which the temporary 
directory is created. This is from the javadoc for TemporaryFolder. When the 
test completes, the `@Rule` makes it delete itself, but not the parent 
directory.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to