diff --git a/src/test/java/io/boomerang/eventing/nats/ConnectionPrimerTest.java b/src/test/java/io/boomerang/eventing/nats/ConnectionPrimerTest.java index c9e7bfa..7deb4cb 100644 --- a/src/test/java/io/boomerang/eventing/nats/ConnectionPrimerTest.java +++ b/src/test/java/io/boomerang/eventing/nats/ConnectionPrimerTest.java @@ -40,6 +40,7 @@ public class ConnectionPrimerTest { private Nats natsServer; @BeforeEach + @SuppressWarnings("resource") void setupNatsServer() { // @formatter:off natsServer = new Nats(SERVER_PORT) diff --git a/src/test/java/io/boomerang/eventing/nats/jetstream/PubSubTransceiverTest.java b/src/test/java/io/boomerang/eventing/nats/jetstream/PubSubTransceiverTest.java index 100f135..04749e5 100644 --- a/src/test/java/io/boomerang/eventing/nats/jetstream/PubSubTransceiverTest.java +++ b/src/test/java/io/boomerang/eventing/nats/jetstream/PubSubTransceiverTest.java @@ -48,6 +48,7 @@ public class PubSubTransceiverTest { private Nats natsServer; @BeforeEach + @SuppressWarnings("resource") void setupNatsServer() { // @formatter:off natsServer = new Nats(SERVER_PORT) diff --git a/src/test/java/io/boomerang/eventing/nats/jetstream/PubTransmitterTest.java b/src/test/java/io/boomerang/eventing/nats/jetstream/PubTransmitterTest.java index 49753da..04a820a 100644 --- a/src/test/java/io/boomerang/eventing/nats/jetstream/PubTransmitterTest.java +++ b/src/test/java/io/boomerang/eventing/nats/jetstream/PubTransmitterTest.java @@ -40,6 +40,7 @@ public class PubTransmitterTest { private Nats natsServer; @BeforeEach + @SuppressWarnings("resource") void setupNatsServer() { // @formatter:off natsServer = new Nats(SERVER_PORT)