X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=lttng-ust-java-tests-log4j%2Fsrc%2Ftest%2Fjava%2Forg%2Flttng%2Fust%2Fagent%2Fintegration%2Fevents%2FLog4jLegacyApiIT.java;h=af46cf4dd5c011d0c1b02b523d6911adc593700e;hb=65a36bff2c5a362152e6448d7891e94f008e4a8b;hp=fe613d39d2b5aa1c123aa4e4754a3bdc6586478e;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/Log4jLegacyApiIT.java b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java index fe613d3..af46cf4 100644 --- a/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java +++ b/lttng-ust-java-tests-log4j/src/test/java/org/lttng/ust/agent/integration/events/Log4jLegacyApiIT.java @@ -22,7 +22,6 @@ import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; -import static org.junit.Assume.assumeTrue; import java.lang.reflect.Field; import java.util.List; @@ -67,9 +66,9 @@ public class Log4jLegacyApiIT { */ @BeforeClass public static void classSetup() { - /* 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(); }