Skip to content

Conversation

@jbertram
Copy link
Contributor

@jbertram jbertram commented Dec 9, 2025

No description provided.

ActiveMQServerControl serverControl = createManagementControl();
AddressSettings addressSettings = new AddressSettings();
addressSettings.setDeadLetterAddress(SimpleString.of("DLA"));
System.out.println(addressSettings.toJSON());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this println left in by mistake?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was indeed.

assertEquals(exactPercentBeforeRestart, addressControl.getAddressLimitPercent());
}

@Test
Copy link
Contributor

@tabish121 tabish121 Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test failed when I ran the PR through CI

java.lang.Exception: AMQ229069: no operation unBlock/0
	at org.apache.activemq.artemis.tests.integration.management.CoreMessagingProxy.invokeOperation(CoreMessagingProxy.java:82)
	at org.apache.activemq.artemis.tests.integration.management.CoreMessagingProxy.invokeOperation(CoreMessagingProxy.java:66)
	at org.apache.activemq.artemis.tests.integration.management.AddressControlUsingCoreTest$1.unblock(AddressControlUsingCoreTest.java:131)
	at org.apache.activemq.artemis.tests.integration.management.AddressControlTest.testIsBlockedViaManagement(AddressControlTest.java:895)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently nothing was actually running org.apache.activemq.artemis.tests.integration.management.AddressControlUsingCoreTest$1.unblock() and it was choking due to a capitalization issue. I've fixed it now.

@tabish121 tabish121 merged commit 64f5cde into apache:main Dec 9, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants