X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-ust-java-tests-log4j%2Fsrc%2Ftest%2Fjava%2Forg%2Flttng%2Fust%2Fagent%2Fintegration%2Ffilter%2FLog4jFilterListenerOrderingIT.java;h=0399b71c5aa630cc22a15f23bd3f345187ae08e8;hb=65a36bff2c5a362152e6448d7891e94f008e4a8b;hp=5db9d2ba73594aaeb0e9ba03ede4b000e561f927;hpb=1f3dd43c2dd89d3bd01edd9edf2fb72946e4e447;p=lttng-ust-java-tests.git diff --git a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/filter/Log4jFilterListenerOrderingIT.java b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/filter/Log4jFilterListenerOrderingIT.java index 5db9d2b..0399b71 100644 --- a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/filter/Log4jFilterListenerOrderingIT.java +++ b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/filter/Log4jFilterListenerOrderingIT.java @@ -18,8 +18,8 @@ package org.lttng.ust.agent.integration.filter; +import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import static org.junit.Assume.assumeTrue; import java.io.IOException; @@ -27,8 +27,8 @@ import org.apache.log4j.Appender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.junit.BeforeClass; -import org.lttng.tools.LttngToolsHelper; import org.lttng.tools.ILttngSession.Domain; +import org.lttng.tools.LttngToolsHelper; import org.lttng.ust.agent.log4j.LttngLogAppender; import org.lttng.ust.agent.utils.Log4jTestUtils; import org.lttng.ust.agent.utils.LttngUtils; @@ -46,9 +46,9 @@ public class Log4jFilterListenerOrderingIT extends FilterListenerOrderingITBase */ @BeforeClass public static void julClassSetup() { - /* 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(); }