Fix/update auto-create/delete tests

This commit is contained in:
jbertram 2016-05-05 19:51:09 -05:00
parent 41d81d68ca
commit 41800c2aa8
2 changed files with 5 additions and 2 deletions

View File

@ -65,10 +65,10 @@ public class AutoCreateJmsQueueTest extends JMSTestBase {
Assert.assertNotNull(m);
}
connection.close();
// make sure the JMX control was created for the JMS queue
assertNotNull(server.getManagementService().getResource("jms.queue.test"));
connection.close();
}
@Test

View File

@ -75,6 +75,9 @@ public class AutoDeleteJmsQueueTest extends JMSTestBase {
// ensure the queue was removed
Assert.assertNull(server.getPostOffice().getBinding(new SimpleString("jms.queue.test")));
// make sure the JMX control was removed for the JMS queue
assertNull(server.getManagementService().getResource("jms.queue.test"));
}
@Test