AMQ-8398 - Add missing super.tearDown() call to Stomp NIOSSLLargeMessageTest

This commit is contained in:
Aleksei Zotov 2024-09-04 17:53:40 -04:00
parent f5fb6c91b2
commit f914001035
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ public class StompNIOSSLLargeMessageTest extends StompTestSupport {
@Override @Override
public void tearDown() throws Exception { public void tearDown() throws Exception {
super.tearDown();
// unregister Log4J appender // unregister Log4J appender
org.apache.logging.log4j.core.Logger rootLogger = (org.apache.logging.log4j.core.Logger) org.apache.logging.log4j.LogManager.getRootLogger(); org.apache.logging.log4j.core.Logger rootLogger = (org.apache.logging.log4j.core.Logger) org.apache.logging.log4j.LogManager.getRootLogger();
rootLogger.removeAppender(appender); rootLogger.removeAppender(appender);