X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=lttng-ust-java-tests-jul%2Fsrc%2Ftest%2Fjava%2Forg%2Flttng%2Fust%2Fagent%2Fintegration%2Fevents%2FJulListEventsIT.java;h=dbd5c334e5bfd15aa14633116b56b941213f5b5a;hb=9d06e3eb07ead1ec21411259823a758375a912be;hp=0c97d37ae86f91d1bfc01f679727370f916805cb;hpb=b342ee75b8f1dd103fc049095de6e1242fc119a6;p=lttng-ust-java-tests.git diff --git a/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java b/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java index 0c97d37..dbd5c33 100644 --- a/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java +++ b/lttng-ust-java-tests-jul/src/test/java/org/lttng/ust/agent/integration/events/JulListEventsIT.java @@ -20,6 +20,7 @@ package org.lttng.ust.agent.integration.events; import java.io.IOException; import java.util.logging.Handler; +import java.util.logging.LogManager; import java.util.logging.Logger; import org.junit.After; @@ -62,6 +63,10 @@ public class JulListEventsIT extends ListEventsITBase { */ @Before public void julSetup() throws SecurityException, IOException { + /* Clear the JUL logger configuration */ + LogManager.getLogManager().reset(); + System.gc(); + loggers = new Logger[] { Logger.getLogger(LOGGER_NAME_1), Logger.getLogger(LOGGER_NAME_2),