From 0211798161f6f58659c5e2ad66eca461aaab2bd9 Mon Sep 17 00:00:00 2001 From: Vlasta Ramik Date: Tue, 19 Jan 2016 11:09:08 +0100 Subject: [PATCH] KEYCLOAK-2340: Update arquillian testsuite for dr3 build --- .../servers/eap7/pom.xml | 46 +++++++--------- .../servers/wildfly/pom.xml | 19 ------- .../tests/adapters/eap6/pom.xml | 2 +- .../base/src/test/resources/arquillian.xml | 5 +- .../integration-arquillian/tests/pom.xml | 52 ++----------------- 5 files changed, 27 insertions(+), 97 deletions(-) diff --git a/testsuite/integration-arquillian/servers/eap7/pom.xml b/testsuite/integration-arquillian/servers/eap7/pom.xml index 67110ef600..d5c0ca22ec 100644 --- a/testsuite/integration-arquillian/servers/eap7/pom.xml +++ b/testsuite/integration-arquillian/servers/eap7/pom.xml @@ -21,24 +21,6 @@ true - - maven-assembly-plugin - - - create-zip - package - - single - - - - assembly.xml - - false - - - - @@ -46,16 +28,8 @@ auth-server-eap7 - ${project.build.directory}/unpacked/jboss-iam-1.0 + ${project.build.directory}/unpacked/RH-SSO-7.0 - - - org.keycloak - keycloak-eap6-server-dist - ${version.server.dist} - zip - - @@ -101,6 +75,24 @@ + + maven-assembly-plugin + + + create-zip + package + + single + + + + assembly.xml + + false + + + + diff --git a/testsuite/integration-arquillian/servers/wildfly/pom.xml b/testsuite/integration-arquillian/servers/wildfly/pom.xml index 99fc5773ab..90087a35f9 100644 --- a/testsuite/integration-arquillian/servers/wildfly/pom.xml +++ b/testsuite/integration-arquillian/servers/wildfly/pom.xml @@ -120,13 +120,6 @@ ${project.build.directory}/unpacked/keycloak-${project.version} - - - org.keycloak - keycloak-server-dist - zip - - @@ -164,18 +157,6 @@ !adapter.libs.bundled - - - org.keycloak - keycloak-wildfly-adapter-dist - zip - - - org.keycloak - keycloak-saml-wildfly-adapter-dist - zip - - diff --git a/testsuite/integration-arquillian/tests/adapters/eap6/pom.xml b/testsuite/integration-arquillian/tests/adapters/eap6/pom.xml index 300d4b6f5b..8a2f5bc04e 100644 --- a/testsuite/integration-arquillian/tests/adapters/eap6/pom.xml +++ b/testsuite/integration-arquillian/tests/adapters/eap6/pom.xml @@ -89,7 +89,7 @@ org.keycloak keycloak-saml-eap6-adapter-dist - ${project.version} + ${version.adapter.dist} zip ${adapter.libs.eap6} 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 afc3334429..daee3a7452 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml +++ b/testsuite/integration-arquillian/tests/base/src/test/resources/arquillian.xml @@ -129,8 +129,11 @@ org.jboss.as.arquillian.container.managed.ManagedDeployableContainer ${keycloak.home} -Djboss.socket.binding.port-offset=${auth.server.port.offset} -Xms64m -Xmx512m -XX:MaxPermSize=256m ${adapter.test.props} - ${auth.server.management.port} ${startup.timeout.sec} + + + ${auth.server.management.port.jmx} + remote diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index f8c817e618..ac85a16916 100644 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -20,6 +20,7 @@ ${project.build.directory}/containers ${project.build.directory}/examples + ${project.build.directory}/undertow-configuration auth-server-undertow 100 @@ -39,6 +40,7 @@ 2.1.0.Alpha2 8.2.0.Final 2.1.1 + true true true @@ -164,7 +166,7 @@ copy-resources - ${project.build.directory}/undertow-configuration + ${jboss.server.config.dir} src/test/resources @@ -442,30 +444,6 @@ - - maven-resources-plugin - - - copy-admin-user-json-file - process-resources - - copy-resources - - - ${jboss.server.config.dir} - - - src/test/resources - - keycloak-add-user.json - - true - - - - - - @@ -522,30 +500,6 @@ - - maven-resources-plugin - - - copy-admin-user-json-file - process-resources - - copy-resources - - - ${jboss.server.config.dir} - - - src/test/resources - - keycloak-add-user.json - - true - - - - - -