michaelandrepearce commented on a change in pull request #3492:
URL: https://github.com/apache/activemq-artemis/pull/3492#discussion_r594827965
##########
File path:
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/postoffice/impl/AddressMapUnitTest.java
##########
@@ -638,7 +638,7 @@ public void testHashA() throws Exception {
assertFalse(aABCA.matches(aHashA));
assertFalse(aHashA.matches(aABCA));
- assertEquals(0, countMatchingWildcards(abcaS));
+ assertEquals(1, countMatchingWildcards(abcaS));
Review comment:
My issue is that would be a change of behaviour, that some users may
have got used to and built systems around such quirks. As such just changing
that may break many users.
If theres a change in behaviour it needs to be behind a toggle and then by
default kept as original. And original behaviour tests kept as is to ensure
that.
This is the same as when we aligned queue naming for amqp, so that it used
the same rules as core and openwire so there wasnt a conflict. Whilst it would
have been nice to default on the better new behaviour, to avoid least
astonishment for existing users it went behind a toggle and defaulted to the
original behaviour.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]