From fd327bb2256e0951d5bd8b5e89a0fcab1af657ff Mon Sep 17 00:00:00 2001 From: Tomas Kyjovsky Date: Tue, 9 Feb 2016 16:35:40 +0100 Subject: [PATCH] KEYCLOAK-1678 fixed cluster containers setup (-Djava.net.preferIPv4Stack=true is needed for cluster to form) --- .../base/src/test/resources/arquillian.xml | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml b/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml index 404f5b5fe3..fc91116cf8 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml +++ b/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml @@ -72,10 +72,12 @@ ${auth.server.wildfly.cluster} org.jboss.as.arquillian.container.managed.ManagedDeployableContainer ${keycloak.balancer.home} - + -Djboss.socket.binding.port-offset=${auth.server.port.offset} - -Xms64m -Xmx512m -XX:MaxPermSize=256m - ${adapter.test.props} + + + -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m + -Djava.net.preferIPv4Stack=true ${auth.server.management.port} ${startup.timeout.sec} @@ -87,11 +89,14 @@ org.jboss.as.arquillian.container.managed.ManagedDeployableContainer ${keycloak.backend1.home} standalone-ha.xml - + -Djboss.socket.binding.port-offset=${auth.server.backend1.port.offset} - -Xms64m -Xmx512m -XX:MaxPermSize=256m - ${adapter.test.props} -Djboss.node.name=node1 + ${adapter.test.props} + + + -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m + -Djava.net.preferIPv4Stack=true ${auth.server.backend1.management.port} @@ -104,11 +109,14 @@ org.jboss.as.arquillian.container.managed.ManagedDeployableContainer ${keycloak.backend2.home} standalone-ha.xml - + -Djboss.socket.binding.port-offset=${auth.server.backend2.port.offset} - -Xms64m -Xmx512m -XX:MaxPermSize=256m - ${adapter.test.props} -Djboss.node.name=node2 + ${adapter.test.props} + + + -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m + -Djava.net.preferIPv4Stack=true ${auth.server.backend2.management.port}