From d21525e47ed5a103b35cf6cce652ce6e0e784464 Mon Sep 17 00:00:00 2001 From: Alexandre Montplaisir Date: Fri, 3 Jun 2016 16:42:40 -0400 Subject: [PATCH] Clear loggers both before AND after tests Let's try this, it solved the problem in another case... Signed-off-by: Alexandre Montplaisir --- .../ust/agent/integration/events/JulLoggerHierarchyListIT.java | 3 +++ 1 file changed, 3 insertions(+) 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(); } // ------------------------------------------------------------------------ -- 2.39.5