Explicitly close Spring context in WS integration test

This commit is contained in:
Rossen Stoyanchev
2014-10-28 22:10:49 -04:00
parent 8c727be4e1
commit 8f21c85511

View File

@@ -113,6 +113,12 @@ public abstract class AbstractWebSocketIntegrationTests {
catch (Throwable t) {
logger.error("Failed to stop server", t);
}
try {
this.wac.close();
}
catch (Throwable t) {
logger.error("Failed to close WebApplicationContext", t);
}
}
protected String getWsBaseUrl() {