From: Alexandre Montplaisir Date: Fri, 3 Jun 2016 20:42:40 +0000 (-0400) Subject: Clear loggers both before AND after tests X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d21525e47ed5a103b35cf6cce652ce6e0e784464;p=lttng-ust-java-tests.git Clear loggers both before AND after tests Let's try this, it solved the problem in another case... Signed-off-by: Alexandre Montplaisir --- diff --git a/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulLoggerHierarchyListIT.java b/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulLoggerHierarchyListIT.java index e53e4a7..531309a 100644 --- a/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulLoggerHierarchyListIT.java +++ b/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulLoggerHierarchyListIT.java @@ -128,6 +128,9 @@ public class JulLoggerHierarchyListIT extends LoggerHierachyListITBase { } childLogger = null; } + + LogManager.getLogManager().reset(); + System.gc(); } // ------------------------------------------------------------------------