[ 
https://issues.apache.org/jira/browse/ARTEMIS-3180?focusedWorklogId=566467&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-566467
 ]

ASF GitHub Bot logged work on ARTEMIS-3180:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Mar/21 18:51
            Start Date: 15/Mar/21 18:51
    Worklog Time Spent: 10m 
      Work Description: michaelandrepearce commented on a change in pull 
request #3492:
URL: https://github.com/apache/activemq-artemis/pull/3492#discussion_r594596619



##########
File path: 
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/postoffice/impl/AddressMapUnitTest.java
##########
@@ -875,7 +936,7 @@ public void testMax() throws Exception {
       underTest.put(new SimpleString("#.a"), new SimpleString("#.a"));
 
       assertEquals(3, countMatchingWildcards(new SimpleString("test.a")));
-      assertEquals(1, countMatchingWildcards(new SimpleString("test.a.a")));
+      assertEquals(3, countMatchingWildcards(new SimpleString("test.a.a")));

Review comment:
       Again this shouldn't change




----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 566467)
    Time Spent: 1h 10m  (was: 1h)

> Consumers with wildcards addresses broken
> -----------------------------------------
>
>                 Key: ARTEMIS-3180
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3180
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP, Broker
>    Affects Versions: 2.17.0
>         Environment: Artemis 2.17.0 
> openjdk version "1.8.0_275"
> OpenJDK Runtime Environment (build 1.8.0_275-b01)
> OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
>            Reporter: Sebastian T
>            Assignee: Gary Tully
>            Priority: Blocker
>         Attachments: artemis-3180.zip
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> While upgrading from Artemis 2.16.0 to 2.17.0 several of our test cases 
> started failing.
> We are using AMQP and QPid JMS to communicate to Artemis.
> The issue seems to be related to subscriptions with wildcards.
> Sending a message to an address "topics.aaa.bbb.ccc" with a consumer 
> subscribed to "topics.#.aaa.#" and one with "topics.#.bbb.#" only the 
> consumer subscribed to "topics.#.aaa.#" receives the message.
> I am attaching a test case illustrating the issue.
> Running "mvn test" executes it with Artemis 2.17.0 and will fail. "mvn test 
> -Dartemis.version=2.16.0" executes the test with Artemis 2.16.0 and will 
> succeed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to