directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1029126 - /directory/apacheds/trunk/server-annotations/src/test/java/org/apache/directory/server/factory/CreateKdcServerAnnotationTest.java
Date Sat, 30 Oct 2010 17:27:29 GMT
Author: kayyagari
Date: Sat Oct 30 17:27:28 2010
New Revision: 1029126

URL: http://svn.apache.org/viewvc?rev=1029126&view=rev
Log:
o removing the workdir after stopping the server in the test

Modified:
    directory/apacheds/trunk/server-annotations/src/test/java/org/apache/directory/server/factory/CreateKdcServerAnnotationTest.java

Modified: directory/apacheds/trunk/server-annotations/src/test/java/org/apache/directory/server/factory/CreateKdcServerAnnotationTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-annotations/src/test/java/org/apache/directory/server/factory/CreateKdcServerAnnotationTest.java?rev=1029126&r1=1029125&r2=1029126&view=diff
==============================================================================
--- directory/apacheds/trunk/server-annotations/src/test/java/org/apache/directory/server/factory/CreateKdcServerAnnotationTest.java
(original)
+++ directory/apacheds/trunk/server-annotations/src/test/java/org/apache/directory/server/factory/CreateKdcServerAnnotationTest.java
Sat Oct 30 17:27:28 2010
@@ -22,6 +22,7 @@ package org.apache.directory.server.fact
 
 import static org.junit.Assert.assertEquals;
 
+import org.apache.commons.io.FileUtils;
 import org.apache.directory.server.annotations.CreateKdcServer;
 import org.apache.directory.server.annotations.CreateTransport;
 import org.apache.directory.server.core.DirectoryService;
@@ -66,5 +67,7 @@ public class CreateKdcServerAnnotationTe
         assertEquals( 2000, server.getMaximumRenewableLifetime() );
         
         server.stop();
+        
+        FileUtils.deleteDirectory( directoryService.getInstanceLayout().getInstanceDirectory()
);
     }
 }



Mime
View raw message