Fix AutoGroupingTest failure

This commit is contained in:
jbertram 2016-05-04 15:14:32 -05:00
parent 170d5c1296
commit d36a22c4a7
1 changed files with 2 additions and 0 deletions

View File

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