X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-ust-java-tests-log4j%2Fsrc%2Ftest%2Fjava%2Forg%2Flttng%2Fust%2Fagent%2Fintegration%2Fevents%2FLog4jListEventsIT.java;h=885ba4b3c9b04a8198185396ae92f694ab7616dc;hb=65a36bff2c5a362152e6448d7891e94f008e4a8b;hp=e06abf8b26537231a02bc1bde38a093dcd3ebac2;hpb=1f3dd43c2dd89d3bd01edd9edf2fb72946e4e447;p=lttng-ust-java-tests.git diff --git a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jListEventsIT.java b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jListEventsIT.java index e06abf8..885ba4b 100644 --- a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jListEventsIT.java +++ b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jListEventsIT.java @@ -18,7 +18,7 @@ package org.lttng.ust.agent.integration.events; -import static org.junit.Assume.assumeTrue; +import static org.junit.Assert.assertTrue; import java.io.IOException; @@ -48,9 +48,9 @@ public class Log4jListEventsIT extends ListEventsITBase { */ @BeforeClass public static void testClassSetup() { - /* Skip tests if we can't find the JNI library or lttng-tools */ - assumeTrue(Log4jTestUtils.checkForLog4jLibrary()); - assumeTrue(LttngUtils.checkForLttngTools(Domain.LOG4J)); + /* Make sure we can find the JNI library and lttng-tools */ + assertTrue(Log4jTestUtils.checkForLog4jLibrary()); + assertTrue(LttngUtils.checkForLttngTools(Domain.LOG4J)); LttngToolsHelper.destroyAllSessions(); }