diff --git a/testsuite/integration-arquillian/servers/pom.xml b/testsuite/integration-arquillian/servers/pom.xml index 1546e35f96..68bc07f5f0 100644 --- a/testsuite/integration-arquillian/servers/pom.xml +++ b/testsuite/integration-arquillian/servers/pom.xml @@ -54,6 +54,13 @@ eap7 + + auth-server-eap7-cluster + + eap7 + wildfly-balancer + + 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 e0cfefd5f5..d1be1a2afb 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml +++ b/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml @@ -137,6 +137,66 @@ + + + + ${auth.server.eap7.cluster} + org.jboss.as.arquillian.container.managed.ManagedDeployableContainer + ${keycloak.balancer.home} + + -Djboss.socket.binding.port-offset=${auth.server.port.offset} + + + -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m + -Djava.net.preferIPv4Stack=true + + ${frontend.console.output} + ${auth.server.management.port} + ${startup.timeout.sec} + + + + + ${auth.server.eap7.cluster} + org.jboss.as.arquillian.container.managed.ManagedDeployableContainer + ${keycloak.backend1.home} + standalone-ha.xml + + -Djboss.socket.binding.port-offset=${auth.server.backend1.port.offset} + -Djboss.node.name=node1 + ${adapter.test.props} + + + -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m + -Djava.net.preferIPv4Stack=true + + ${backends.console.output} + ${auth.server.backend1.management.port} + ${startup.timeout.sec} + + + + + ${auth.server.eap7.cluster} + org.jboss.as.arquillian.container.managed.ManagedDeployableContainer + ${keycloak.backend2.home} + standalone-ha.xml + + -Djboss.socket.binding.port-offset=${auth.server.backend2.port.offset} + -Djboss.node.name=node2 + ${adapter.test.props} + + + -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m + -Djava.net.preferIPv4Stack=true + + ${backends.console.output} + ${auth.server.backend2.management.port} + ${startup.timeout.sec} + + + + diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index 7addcc0f05..37483028e9 100644 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -661,6 +661,7 @@ + auth-server-eap7 @@ -740,6 +741,129 @@ + + auth-server-eap7-cluster + + + - + + auth-server-eap7-cluster + 300 + + 1.3.173 + + ${containers.home}/balancer/wildfly-balancer-${project.version} + ${containers.home}/node1/keycloak-${version.server.dist} + ${containers.home}/node2/keycloak-${version.server.dist} + + ${keycloak.backend1.home} + ${keycloak.home}/standalone/configuration + + + + org.wildfly + wildfly-arquillian-container-managed + + + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-properties + + enforce + + + + + version.server.dist + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + + true + + true + false + ${adapter.test.props} + + ${keycloak.balancer.home} + ${keycloak.backend1.home} + ${keycloak.backend2.home} + + + 101 + 102 + + 8181 + 8182 + + 8544 + 8545 + + 10091 + 10092 + + 10100 + 10101 + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-auth-server-wildfly + generate-test-resources + + unpack + + + + + org.keycloak.testsuite + integration-arquillian-server-wildfly-balancer + ${project.version} + zip + ${containers.home}/balancer + + + org.keycloak.testsuite + integration-arquillian-server-eap7 + ${project.version} + zip + ${containers.home}/node1 + + + org.keycloak.testsuite + integration-arquillian-server-eap7 + ${project.version} + zip + ${containers.home}/node2 + + + true + + + + + + + + +