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}