diff --git a/api/src/test/java/ai/djl/nn/convolutional/OutputShapeTest.java b/api/src/test/java/ai/djl/nn/convolutional/OutputShapeTest.java index 1d1100b0d60..6e84ef76b89 100644 --- a/api/src/test/java/ai/djl/nn/convolutional/OutputShapeTest.java +++ b/api/src/test/java/ai/djl/nn/convolutional/OutputShapeTest.java @@ -20,15 +20,15 @@ public abstract class OutputShapeTest { - static NDManager manager; + protected NDManager manager; @BeforeClass - public static void setupManager() { + public void setupManager() { manager = NDManager.newBaseManager(); } @AfterClass - public static void teardownManager() { + public void teardownManager() { manager.close(); } } diff --git a/build.gradle b/build.gradle index 606a88da024..2a6fd8ea567 100644 --- a/build.gradle +++ b/build.gradle @@ -83,6 +83,7 @@ configure(javaProjects()) { // systemProperty "ai.djl.logging.level", "debug" systemProperty "org.slf4j.simpleLogger.defaultLogLevel", "debug" systemProperty "org.slf4j.simpleLogger.log.org.mortbay.log", "warn" + systemProperty "org.slf4j.simpleLogger.log.org.testng", "info" systemProperty "disableProgressBar", "true" systemProperty "nightly", System.getProperty("nightly", "false") if (gradle.startParameter.offline) {