Minor changes to improve robustess of LDAP tests.

This commit is contained in:
Luke Taylor 2007-10-02 14:49:08 +00:00
parent a4266f3fb8
commit 5a3f5fcd78
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@ public class LdapBeanDefinitionParserTests {
@AfterClass
public static void closeContext() {
// Make sure apache ds shuts down
appContext.close();
if (appContext != null) {
appContext.close();
}
}
@Test