NO-JIRA Fix compatibility tests
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/cb7b5cba Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/cb7b5cba Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/cb7b5cba Branch: refs/heads/master Commit: cb7b5cba04d4fa458a44dd319c3684045cd04c98 Parents: 3602713 Author: Justin Bertram <jbert...@apache.org> Authored: Wed May 23 15:29:39 2018 -0500 Committer: Clebert Suconic <clebertsuco...@apache.org> Committed: Thu May 24 12:00:12 2018 -0400 ---------------------------------------------------------------------- .../src/main/resources/servers/artemisServer.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/cb7b5cba/tests/compatibility-tests/src/main/resources/servers/artemisServer.groovy ---------------------------------------------------------------------- diff --git a/tests/compatibility-tests/src/main/resources/servers/artemisServer.groovy b/tests/compatibility-tests/src/main/resources/servers/artemisServer.groovy index 6661447..fbae168 100644 --- a/tests/compatibility-tests/src/main/resources/servers/artemisServer.groovy +++ b/tests/compatibility-tests/src/main/resources/servers/artemisServer.groovy @@ -44,7 +44,7 @@ try { if (!type.startsWith("ARTEMIS-1")) { configuration.addAddressesSetting("#", new AddressSettings().setAutoCreateAddresses(true)); if (globalMaxSize != null) { - configuration.getAddressesSettings().get("#").setPageSizeBytes(globalMaxSize).setAddressFullMessagePolicy(AddressFullMessagePolicy.PAGE) + configuration.getAddressesSettings().get("#").setPageSizeBytes(Long.parseLong(globalMaxSize)).setAddressFullMessagePolicy(AddressFullMessagePolicy.PAGE) configuration.setGlobalMaxSize(Long.parseLong(globalMaxSize)); } }