directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r428118 - /directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
Date Wed, 02 Aug 2006 19:51:24 GMT
Author: akarasulu
Date: Wed Aug  2 12:51:23 2006
New Revision: 428118

URL: http://svn.apache.org/viewvc?rev=428118&view=rev
Log:
fix for broken integratin tests on windows due to file locking issues

Modified:
    directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java

Modified: directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java?rev=428118&r1=428117&r2=428118&view=diff
==============================================================================
--- directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
(original)
+++ directory/trunks/apacheds/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
Wed Aug  2 12:51:23 2006
@@ -46,6 +46,7 @@
     {
         setSysRoot( "uid=admin,ou=system", "secret", new ShutdownConfiguration() );
         assertNotNull( sysRoot );
+        doDelete( configuration.getWorkingDirectory() );
     }
 
 
@@ -62,7 +63,8 @@
         // restart the system now
         setSysRoot( "uid=admin,ou=system", "secret", configuration );
 
-        // Shutdown again (tearDown is overriden)
-        setSysRoot( "uid=admin,ou=system", "secret", new ShutdownConfiguration() );
+        // (tearDown is overriden)
+        super.tearDown();
+        doDelete( configuration.getWorkingDirectory() );
     }
 }



Mime
View raw message