From 6ec86854faec625af1df8bd15a79e4381442d4e1 Mon Sep 17 00:00:00 2001 From: Iulian Corcoja Date: Wed, 2 Mar 2022 18:38:18 +0100 Subject: [PATCH] Suppress test warnings --- .../java/io/boomerang/eventing/nats/ConnectionPrimerTest.java | 1 + .../boomerang/eventing/nats/jetstream/PubSubTransceiverTest.java | 1 + .../io/boomerang/eventing/nats/jetstream/PubTransmitterTest.java | 1 + 3 files changed, 3 insertions(+) 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)