Minor changes to improve robustess of LDAP tests.
This commit is contained in:
parent
a4266f3fb8
commit
5a3f5fcd78
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue