jbertram commented on a change in pull request #2882: NO-JIRA fix divert test
URL: https://github.com/apache/activemq-artemis/pull/2882#discussion_r342663965
 
 

 ##########
 File path: 
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/divert/DivertTest.java
 ##########
 @@ -169,7 +169,7 @@ public void testCrossProtocol() throws Exception {
 
          session.createQueue(new SimpleString(testForConvert), 
RoutingType.ANYCAST, SimpleString.toSimpleString(testForConvert), null, true);
 
-         session.createQueue(new SimpleString(forwardAddress), 
RoutingType.MULTICAST, queueName2, null, true);
 
 Review comment:
   There was a one-line change in 
`org.apache.activemq.artemis.core.server.impl.DivertImpl#route` on 
84067d8fef311d641ef7d35b9cdda3bc48759a37 to enforce the proper routing-type 
(which it should have been doing all along). This test was incorrectly trying 
to use a divert with the ANYCAST routing-type to route messages to a MULTICAST 
queue. 

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


With regards,
Apache Git Services

Reply via email to