This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 33131f5d71 ARTEMIS-5463 Tweak on a test
33131f5d71 is described below
commit 33131f5d7187d01ece756eef02df3fe0027c07a7
Author: Clebert Suconic <[email protected]>
AuthorDate: Mon May 5 15:10:43 2025 -0400
ARTEMIS-5463 Tweak on a test
---
.../org/apache/activemq/artemis/tests/leak/StartStopLeakTest.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
a/tests/leak-tests/src/test/java/org/apache/activemq/artemis/tests/leak/StartStopLeakTest.java
b/tests/leak-tests/src/test/java/org/apache/activemq/artemis/tests/leak/StartStopLeakTest.java
index 0b4b11cbc1..b2d47822aa 100644
---
a/tests/leak-tests/src/test/java/org/apache/activemq/artemis/tests/leak/StartStopLeakTest.java
+++
b/tests/leak-tests/src/test/java/org/apache/activemq/artemis/tests/leak/StartStopLeakTest.java
@@ -44,7 +44,7 @@ public class StartStopLeakTest extends ActiveMQTestBase {
}
// Creating a sub method to facilitate clearing references towards
ActiveMQServerImpl
- private CheckLeak internalTest(CheckLeak checkLeak) throws Exception {
+ private void internalTest(CheckLeak checkLeak) throws Exception {
assertNull(ServerStatus.getServer(), () -> "A previous test left a
server hanging on ServerStatus -> " + ServerStatus.getServer());
ActiveMQServer server = createServer(false, true);
@@ -64,7 +64,5 @@ public class StartStopLeakTest extends ActiveMQTestBase {
MemoryAssertions.assertMemory(checkLeak, 0, AckManager.class.getName());
assertEquals(0, server.getExternalComponents().size());
MemoryAssertions.basicMemoryAsserts();
-
- return checkLeak;
}
}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact