You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2006/08/02 21:50:52 UTC
svn commit: r428117 -
/directory/branches/apacheds/1.0/core-unit/src/test/java/org/apache/directory/server/core/jndi/ShutdownITest.java
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() );
}
}