Isolate LoggerContext state to each test

Closes gh-16162
This commit is contained in:
Andy Wilkinson 2019-03-07 09:37:41 +00:00
parent 83216c34e5
commit 17a1b2822c

View File

@ -106,6 +106,7 @@ public class LogbackLoggingSystemTests extends AbstractLoggingSystemTests {
public void clear() { public void clear() {
super.clear(); super.clear();
this.loggingSystem.cleanUp(); this.loggingSystem.cleanUp();
((LoggerContext) StaticLoggerBinder.getSingleton().getLoggerFactory()).stop();
} }
@Test @Test