directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r428117 - /directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
Date Wed, 02 Aug 2006 19:50:52 GMT
Author: akarasulu
Date: Wed Aug  2 12:50:52 2006
New Revision: 428117

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

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

Modified: directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java?rev=428117&r1=428116&r2=428117&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
(original)
+++ directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
Wed Aug  2 12:50:52 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