Fix SessionTest.testQueueQueryNoQ
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/5aa14279 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/5aa14279 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/5aa14279 Branch: refs/heads/ARTEMIS-780 Commit: 5aa14279c96f5830ea09cc58aeb227ad928a414c Parents: 8be9a46 Author: jbertram <[email protected]> Authored: Wed Nov 23 13:54:51 2016 -0600 Committer: jbertram <[email protected]> Committed: Mon Nov 28 14:19:20 2016 -0600 ---------------------------------------------------------------------- .../activemq/artemis/tests/integration/client/SessionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5aa14279/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SessionTest.java ---------------------------------------------------------------------- diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SessionTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SessionTest.java index b3c7a4c..0882078 100644 --- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SessionTest.java +++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/client/SessionTest.java @@ -230,11 +230,11 @@ public class SessionTest extends ActiveMQTestBase { @Test public void testQueueQueryNoQ() throws Exception { server.getAddressSettingsRepository().addMatch("#", new AddressSettings().setAutoCreateQueues(false)); - server.getAddressSettingsRepository().addMatch("#", new AddressSettings().setAutoCreateAddresses(false)); cf = createSessionFactory(locator); ClientSession clientSession = cf.createSession(false, true, true); QueueQuery resp = clientSession.queueQuery(new SimpleString(queueName)); Assert.assertFalse(resp.isExists()); + Assert.assertFalse(resp.isAutoCreateJmsQueues()); Assert.assertEquals(null, resp.getAddress()); clientSession.close(); }
