Fix/update auto-create/delete tests
This commit is contained in:
parent
41d81d68ca
commit
41800c2aa8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue