Fix GroupIDTest failure

This commit is contained in:
jbertram 2016-05-04 15:16:51 -05:00
parent d36a22c4a7
commit 89a0ffe1b2
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ public class GroupingTest extends JMSTestBase {
public void testGroupingWithJMS2Producer() throws Exception {
ConnectionFactory fact = getCF();
Assume.assumeFalse("only makes sense withOUT auto-group", ((ActiveMQConnectionFactory) fact).isAutoGroup());
Assume.assumeTrue("only makes sense withOUT explicit group-id", ((ActiveMQConnectionFactory) fact).getGroupID() == null);
final String groupID = UUID.randomUUID().toString();
JMSContext ctx = addContext(getCF().createContext(JMSContext.SESSION_TRANSACTED));