You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/01/04 06:55:20 UTC

[GitHub] marcaurele commented on a change in pull request #2384: CLOUDSTACK-10210 cleanup testfile

marcaurele commented on a change in pull request #2384: CLOUDSTACK-10210 cleanup testfile
URL: https://github.com/apache/cloudstack/pull/2384#discussion_r159588962
 
 

 ##########
 File path: services/secondary-storage/server/test/org/apache/cloudstack/storage/resource/NfsSecondaryStorageResourceTest.java
 ##########
 @@ -49,16 +51,22 @@ public void setUp() {
         resource = new NfsSecondaryStorageResource();
     }
 
+    String filename = "testfile";
+    @After
+    public void cleanup() {
+        File remnance = new File(filename);
+        remnance.deleteOnExit();
 
 Review comment:
   `exists()` check?

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


With regards,
Apache Git Services