diff --git a/testsuite/integration-arquillian/tests/base/pom.xml b/testsuite/integration-arquillian/tests/base/pom.xml index 9b262543eb..a04c3c2c67 100644 --- a/testsuite/integration-arquillian/tests/base/pom.xml +++ b/testsuite/integration-arquillian/tests/base/pom.xml @@ -229,14 +229,24 @@ - - maven-antrun-plugin - - false - - - + + + + auth-servers-crossdc-undertow + + false + + + + auth-servers-crossdc-jboss + + false + false + + + + diff --git a/testsuite/integration-arquillian/tests/other/pom.xml b/testsuite/integration-arquillian/tests/other/pom.xml index da03e0f3e1..30b229e3dc 100644 --- a/testsuite/integration-arquillian/tests/other/pom.xml +++ b/testsuite/integration-arquillian/tests/other/pom.xml @@ -42,6 +42,10 @@ springboot-tests + + false + + @@ -55,6 +59,7 @@ unpack + ${skip.unpack.test.resources} org.keycloak.testsuite @@ -78,6 +83,7 @@ copy-resources + ${skip.add.user.json} ${auth.server.config.dir} diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/README.md b/testsuite/integration-arquillian/tests/other/server-config-migration/README.md new file mode 100644 index 0000000000..83b832b998 --- /dev/null +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/README.md @@ -0,0 +1,56 @@ +# Keycloak Server Config Migration Testsuite + +## Test workflow +There are performed several steps before actual test is executed. The steps are divided into different maven lifecycle phases to make sure it goes in specified wanted order. + +### `process-resources` +Unpack clean keycloak-server-dist + +### `compile` +Copy standalone/domain resources to `${jbossHome}/standalone/configuration` and `${jbossHome}/domain/configuration` + +### `process-classes` +`maven-exec-plugin` is used to read current master configs and saves the output to `${project.build.directory}/master-${config.name}.txt` + +### `generate-test-sources` +Files `${jbossHome}/standalone/configuration/keycloak-server.json` and `${jbossHome}/domain/configuration/keycloak-server.json` are created. + +Configuration files (`standalone.xml`, `standalone-ha.xml`, `domain.xml`, `host-master.xml`) are overwritten by those from previous version. + +### `process-test-sources` +Migration scripts are applied using **offline mode**. Temporary data are removed. + +### `generate-test-resources` +`wildfly-maven-plugin` is used to start and shutdown container with different configs. It is done to let subsystems to upgrade themselves during first run. + +### `process-test-resources` +`maven-exec-plugin` is used to read migrated configs and saves the output to `${project.build.directory}/migrated-${config.name}.txt` + +### `default-test` +`org.keycloak.test.config.migrationConfigMigrationTest` is executed. It compares generated outputs from ${project.build.directory} + +If config outputs don't equal to each other, **by default** the test will compare outputs more deeply to get more readable output. It fails on first found difference. + +This can be overwritten by adding property: `-Dget.simple.full.comparison=true` to the test command. In that case it'll perform assert on the two config outputs. + +## Properties + +### maven +* jbossHome + * default: `${project.build.directory}/keycloak-${project.version}` + * specifies path to jbossHome dir +* migrated.version + * default: `1.8.1` + * specifies version it is migrated from +* master.version + * default: `${project.version}` + * specifies version it is migrated to + +## How to run tests + +note: `keycloak-server-dist` module has to be build first (`mvn install -f keycloak/pom.xml -Pdistribution`) + +* `mvn clean install` tests migration from 1.8.1.Final to current master. It goes thru whole test workflow. Deep comparison is done. +* `mvn clean install -Dget.simple.full.comparison=true` does assert on outputs instead of deep comparison. +* `mvn clean process-test-sources -Dskip.rename.configs=true` applies migration scripts to current master. It can be used to make sure the current keycloak version doesn't break the scripts. +* `mvn clean install -Dskip.rename.configs=true` applies scripts to current master **and** verifies the scripts doesn't actually change anything. diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/pom.xml b/testsuite/integration-arquillian/tests/other/server-config-migration/pom.xml index 81e5f2265a..ab1be81c8a 100644 --- a/testsuite/integration-arquillian/tests/other/server-config-migration/pom.xml +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/pom.xml @@ -34,8 +34,19 @@ Keycloak Migration TestSuite For Server Config + true + true + false + ${project.build.directory}/keycloak-${project.version} 1.8.1 + ${project.version} + + @@ -56,7 +67,7 @@ test - + @@ -64,7 +75,7 @@ maven-dependency-plugin - unpack + unpack-keycloak-server-dist process-resources unpack @@ -74,7 +85,7 @@ org.keycloak keycloak-server-dist - ${project.version} + ${master.version} zip true ${project.build.directory} @@ -84,12 +95,12 @@ - + maven-resources-plugin - copy-standalone + copy-standalone-resources compile copy-resources @@ -106,7 +117,7 @@ - copy-domain + copy-domain-resources compile copy-resources @@ -124,352 +135,314 @@ - + - com.coderplus.maven.plugins - copy-rename-maven-plugin - 1.0.1 + maven-antrun-plugin - rename-keycloak-server-json-standalone + rename-migrated-resources generate-test-sources - rename + run - ${jbossHome}/standalone/configuration/keycloak-server-${migrated.version}.json - ${jbossHome}/standalone/configuration/keycloak-server.json - - - - rename-keycloak-server-json-domain - generate-test-sources - - rename - - - ${jbossHome}/domain/configuration/keycloak-server-${migrated.version}.json - ${jbossHome}/domain/configuration/keycloak-server.json + ${skip.rename.configs} + + For migration from versions above 2.1.0 there is no keycloak-server.json supported. + + + + + + + - + - com.google.code.maven-replacer-plugin - maven-replacer-plugin + org.codehaus.mojo + exec-maven-plugin - replaceTokens - process-test-sources + read-master-standalone + process-classes - replace + exec - - - - embed-server - #embed-server - - - embed-host-controller - #embed-host-controller - - - :migrate-json(file=$pathToJson) - :migrate-json - - + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-standalone.cli + + ${project.build.directory}/master-standalone.txt - - - false - ${jbossHome} - bin\migrate**.cli - - - - - org.wildfly.plugins - wildfly-maven-plugin - - false - ${jbossHome} - 10990 - - - - - + + read-master-standalone-ha + process-classes + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-standalone-ha.cli + + ${project.build.directory}/master-standalone-ha.txt + + + + read-master-domain-standalone + process-classes + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-domain-standalone.cli + + ${project.build.directory}/master-domain-standalone.txt + + + + read-master-domain-clustered + process-classes + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-domain-clustered.cli + + ${project.build.directory}/master-domain-clustered.txt + + + migrate-standalone - generate-test-resources + process-test-sources - start - execute-commands - shutdown + exec - standalone-${migrated.version}.xml - - -Djboss.socket.binding.port-offset=1000 - - - - - - + ./jboss-cli.sh + ${jbossHome}/bin + + --file=migrate-standalone.cli + + + migrate-standalone-ha + process-test-sources + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=migrate-standalone-ha.cli + + + + + migrate-domain-standalone + process-test-sources + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=migrate-domain-standalone.cli + + + + + migrate-domain-clustered + process-test-sources + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=migrate-domain-clustered.cli + + + + + + remove-temp-data-standalone + process-test-sources + + exec + + + rm + ${jbossHome}/standalone + + -rf + data + log + tmp + + + + + remove-temp-data-domain + process-test-sources + + exec + + + rm + ${jbossHome}/domain + + -rf + data/auto-start + data/kernel + log + servers + + + + read-migrated-standalone process-test-resources - start - execute-commands - shutdown + exec - standalone-${migrated.version}.xml - - -Djboss.socket.binding.port-offset=1000 - - - - echo Reading subsystems for migrated standalone-${migrated.version}.xml - /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-standalone-${migrated.version}.txt - - - - - - read-master-standalone - process-test-resources - - start - execute-commands - shutdown - - - standalone.xml - - -Djboss.socket.binding.port-offset=1000 - - - - echo Reading subsystems for master standalone.xml - /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-standalone.txt - - - - - - - - migrate-standalone-ha - generate-test-resources - - start - execute-commands - shutdown - - - standalone-ha-${migrated.version}.xml - - -Djboss.socket.binding.port-offset=1000 - - - - - - + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-standalone.cli + + ${project.build.directory}/migrated-standalone.txt read-migrated-standalone-ha process-test-resources - start - execute-commands - shutdown + exec - standalone-ha-${migrated.version}.xml - - -Djboss.socket.binding.port-offset=1000 - - - - echo Reading subsystems for migrated standalone-ha-${migrated.version}.xml - /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-standalone-ha-${migrated.version}.txt - - + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-standalone-ha.cli + + ${project.build.directory}/migrated-standalone-ha.txt - read-master-standalone-ha + read-migrated-domain-standalone process-test-resources + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-domain-standalone.cli + + ${project.build.directory}/migrated-domain-standalone.txt + + + + read-migrated-domain-clustered + process-test-resources + + exec + + + ./jboss-cli.sh + ${jbossHome}/bin + + --file=${project.build.directory}/classes/cli/read-domain-clustered.cli + + ${project.build.directory}/migrated-domain-clustered.txt + + + + + + + org.wildfly.plugins + wildfly-maven-plugin + + ${jbossHome} + + + + start-stop-standalone + generate-test-resources + + start + shutdown + + + standalone.xml + + + + start-stop-standalone-ha + generate-test-resources start - execute-commands shutdown standalone-ha.xml - - -Djboss.socket.binding.port-offset=1000 - - - - echo Reading subsystems for master standalone-ha.xml - /subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-standalone-ha.txt - - - - - migrate-domain + start-stop-domain generate-test-resources start - execute-commands - shutdown - - - DOMAIN - domain-${migrated.version}.xml - - --host-config=host-master-${migrated.version}.xml - - - - - - - -Djboss.management.http.port=10990 - -Djboss.management.native.port=10999 - -Djboss.server.config.dir=${jbossHome}/domain/configuration/ - - - - - - - - - - - read-migrated-domain - process-test-resources - - start - execute-commands - shutdown - - - DOMAIN - domain-${migrated.version}.xml - - --host-config=host-master-${migrated.version}.xml - - - -Djboss.management.http.port=10990 - -Djboss.management.native.port=10999 - - - - echo Reading subsystems for migrated domain-${migrated.version}.xml - /profile=auth-server-standalone/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-domain-standalone-${migrated.version}.txt - /profile=auth-server-clustered/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/migrated-domain-clustered-${migrated.version}.txt - - - - - - read-master-domain - process-test-resources - - start - execute-commands shutdown DOMAIN domain.xml - - -Djboss.management.http.port=10990 - -Djboss.management.native.port=10999 - --host-config=host-master.xml - - - echo Reading subsystems for master domain.xml - /profile=auth-server-standalone/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-domain-standalone.txt - /profile=auth-server-clustered/subsystem=*/:read-resource(recursive=true)>${project.build.directory}/master-domain-clustered.txt - - - - - maven-surefire-plugin - - - ${migrated.version} - - - - - - - product - - ${project.build.directory}/rh-sso-7.1 - 1.9.8.Final-redhat-1 - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - unpack - compile - - unpack - - - - - org.keycloak - keycloak-server-dist - 2.5.4.Final-redhat-1 - zip - true - ${project.build.directory} - - - - - - - - - - + diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-domain-clustered.cli b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-domain-clustered.cli new file mode 100644 index 0000000000..b86672c18f --- /dev/null +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-domain-clustered.cli @@ -0,0 +1,3 @@ +embed-host-controller --domain-config=domain.xml + +/profile=auth-server-clustered/subsystem=*/:read-resource(recursive=true) diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-domain-standalone.cli b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-domain-standalone.cli new file mode 100644 index 0000000000..e9a089a448 --- /dev/null +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-domain-standalone.cli @@ -0,0 +1,3 @@ +embed-host-controller --domain-config=domain.xml + +/profile=auth-server-standalone/subsystem=*/:read-resource(recursive=true) diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-standalone-ha.cli b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-standalone-ha.cli new file mode 100644 index 0000000000..a32fb9cf0a --- /dev/null +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-standalone-ha.cli @@ -0,0 +1,3 @@ +embed-server --server-config=standalone-ha.xml + +/subsystem=*/:read-resource(recursive=true) diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-standalone.cli b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-standalone.cli new file mode 100644 index 0000000000..400d7c8240 --- /dev/null +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/main/resources/cli/read-standalone.cli @@ -0,0 +1,3 @@ +embed-server --server-config=standalone.xml + +/subsystem=*/:read-resource(recursive=true) diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/java/org/keycloak/test/config/migration/ConfigMigrationTest.java b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/java/org/keycloak/test/config/migration/ConfigMigrationTest.java index 7f5ad34f02..08f2caa278 100644 --- a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/java/org/keycloak/test/config/migration/ConfigMigrationTest.java +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/java/org/keycloak/test/config/migration/ConfigMigrationTest.java @@ -20,10 +20,23 @@ package org.keycloak.test.config.migration; import java.io.File; import java.io.FileInputStream; import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Comparator; +import java.util.Deque; +import java.util.LinkedList; +import java.util.List; +import java.util.stream.Collectors; import org.jboss.dmr.ModelNode; +import org.jboss.logging.Logger; import org.junit.Assert; import org.junit.Test; +import static org.hamcrest.Matchers.equalTo; +import static org.hamcrest.Matchers.is; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertThat; + /** * Compare outputs from jboss-cli read-resource operations. This compare the total * configuration of all subsystems to make sure that the version in master @@ -34,22 +47,23 @@ import org.junit.Test; public class ConfigMigrationTest { private static final File TARGET_DIR = new File("./target"); - private final String migratedVersion = System.getProperty("migrated.version"); + private final Logger log = Logger.getLogger(ConfigMigrationTest.class); + private final Deque nav = new LinkedList<>(); @Test public void testStandalone() throws IOException { - compareConfigs("master-standalone.txt", "migrated-standalone-" + migratedVersion + ".txt"); + compareConfigs("master-standalone.txt", "migrated-standalone.txt"); } @Test public void testStandaloneHA() throws IOException { - compareConfigs("master-standalone-ha.txt", "migrated-standalone-ha-" + migratedVersion + ".txt"); + compareConfigs("master-standalone-ha.txt", "migrated-standalone-ha.txt"); } @Test public void testDomain() throws IOException { - compareConfigs("master-domain-standalone.txt", "migrated-domain-standalone-" + migratedVersion + ".txt"); - compareConfigs("master-domain-clustered.txt", "migrated-domain-clustered-" + migratedVersion + ".txt"); + compareConfigs("master-domain-standalone.txt", "migrated-domain-standalone.txt"); + compareConfigs("master-domain-clustered.txt", "migrated-domain-clustered.txt"); } private void compareConfigs(String masterConfig, String migratedConfig) throws IOException { @@ -66,7 +80,117 @@ public class ConfigMigrationTest { // A textual diff might have things out of order. ModelNode master = ModelNode.fromStream(masterStream); ModelNode migrated = ModelNode.fromStream(migratedStream); - Assert.assertEquals(master, migrated); + + if (master.equals(migrated)) { + // ok + } else { + if (Boolean.parseBoolean(System.getProperty("get.simple.full.comparison"))) { + assertThat(migrated, is(equalTo(master))); + } + compareConfigsDeeply("root", master, migrated); + } + } + } + + private void compareConfigsDeeply(String id, ModelNode master, ModelNode migrated) { + nav.add(id); + + master.protect(); + migrated.protect(); + + assertEquals(getMessage(), master.getType(), migrated.getType()); + + switch (master.getType()) { + case OBJECT: + //check nodes are equal + if (master.equals(migrated)) { + break; + } + //check keys are equal + assertThat(getMessage(), migrated.keys(), is(equalTo(master.keys()))); + + for (String key : master.keys()) { + compareConfigsDeeply(key, master.get(key), migrated.get(key)); + } + break; + case LIST: + List masterAsList = new ArrayList<>(master.asList()); + List migratedAsList = new ArrayList<>(migrated.asList()); + + if (masterAsList.equals(migratedAsList)) { + break; + } + + masterAsList.sort(nodeStringComparator); + migratedAsList.sort(nodeStringComparator); + + if (masterAsList.toString().contains("subsystem")) { + assertEquals("Subsystem names are not equal.", + getSubsystemNames(masterAsList).toString(), + getSubsystemNames(migratedAsList).toString()); + } + + //remove equaled nodes and keep just different ones + List diffNodesInMaster = new ArrayList<>(masterAsList); + diffNodesInMaster.removeAll(migratedAsList); + for (ModelNode diffNodeInMaster : diffNodesInMaster) { + String navigation = diffNodeInMaster.getType().toString(); + if (diffNodeInMaster.toString().contains("subsystem")) { + navigation = getSubsystemNames(Arrays.asList(diffNodeInMaster)).toString(); + } + compareConfigsDeeply(navigation, + diffNodeInMaster, + migratedAsList.get(masterAsList.indexOf(diffNodeInMaster))); + } + break; + case BOOLEAN: + assertEquals(getMessage(), master.asBoolean(), migrated.asBoolean()); + break; + case STRING: + assertEquals(getMessage(), master.asString(), migrated.asString()); + break; + case UNDEFINED: + //nothing to test + break; + case LONG: + assertEquals(getMessage(), master.asLong(), migrated.asLong()); + break; + case EXPRESSION: + assertEquals(getMessage(), master.asExpression(), migrated.asExpression()); + break; + case INT: + assertEquals(getMessage(), master.asInt(), migrated.asInt()); + break; + case DOUBLE: + assertEquals(getMessage(), master.asDouble(), migrated.asDouble(), new Double("0.0")); + break; + default: + assertThat(getMessage(), migrated, is(equalTo(master))); + throw new UnsupportedOperationException(getMessage() + ". There is missing case " + master.getType().name()); } + nav.pollLast(); + } + + private static final Comparator nodeStringComparator = (n1, n2) -> { + //ascending order + return n1.toString().compareTo(n2.toString()); + }; + + private String getMessage() { + return "* navigation -> " + nav.toString() + " * "; + } + + private List getSubsystemNames(List modelNodes) { + int index; + if (modelNodes.toString().contains("profile")) { + index = 9; //domain + } else { + index = 5; //standalone + } + return modelNodes + .stream() + .map(ModelNode::toString) + .map(s -> s.split("\"")[index]) + .collect(Collectors.toList()); } } diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/domain/keycloak-server-1.8.1.json b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/domain/keycloak-server-1.8.1.json index 89263bf4e5..a5b4d1b827 100644 --- a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/domain/keycloak-server-1.8.1.json +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/domain/keycloak-server-1.8.1.json @@ -1,6 +1,6 @@ { "providers": [ - "classpath:${jboss.home.dir}/providers/*" + "classpath:${jboss.server.config.dir}/providers/*" ], "admin": { @@ -22,30 +22,21 @@ "provider": "jpa" }, - "userCache": { - "default" : { - "enabled": true - } - }, - "userSessionPersister": { "provider": "jpa" }, - "authorizationPersister": { - "provider": "jpa" - }, - "timer": { "provider": "basic" }, "theme": { + "default": "keycloak", "staticMaxAge": 2592000, "cacheTemplates": true, "cacheThemes": true, "folder": { - "dir": "${jboss.home.dir}/themes" + "dir": "${jboss.server.config.dir}/themes" } }, @@ -64,15 +55,8 @@ } }, - "realmCache": { - "default" : { - "enabled": true - } - }, - "connectionsInfinispan": { - "provider": "default", - "default": { + "default" : { "cacheContainer" : "java:comp/env/infinispan/Keycloak" } } diff --git a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/keycloak-server-1.8.1.json b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/keycloak-server-1.8.1.json index 89263bf4e5..a5b4d1b827 100644 --- a/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/keycloak-server-1.8.1.json +++ b/testsuite/integration-arquillian/tests/other/server-config-migration/src/test/resources/standalone/keycloak-server-1.8.1.json @@ -1,6 +1,6 @@ { "providers": [ - "classpath:${jboss.home.dir}/providers/*" + "classpath:${jboss.server.config.dir}/providers/*" ], "admin": { @@ -22,30 +22,21 @@ "provider": "jpa" }, - "userCache": { - "default" : { - "enabled": true - } - }, - "userSessionPersister": { "provider": "jpa" }, - "authorizationPersister": { - "provider": "jpa" - }, - "timer": { "provider": "basic" }, "theme": { + "default": "keycloak", "staticMaxAge": 2592000, "cacheTemplates": true, "cacheThemes": true, "folder": { - "dir": "${jboss.home.dir}/themes" + "dir": "${jboss.server.config.dir}/themes" } }, @@ -64,15 +55,8 @@ } }, - "realmCache": { - "default" : { - "enabled": true - } - }, - "connectionsInfinispan": { - "provider": "default", - "default": { + "default" : { "cacheContainer" : "java:comp/env/infinispan/Keycloak" } } diff --git a/testsuite/integration-arquillian/tests/pom.xml b/testsuite/integration-arquillian/tests/pom.xml index a00aa5df28..f4dcc81dbf 100755 --- a/testsuite/integration-arquillian/tests/pom.xml +++ b/testsuite/integration-arquillian/tests/pom.xml @@ -113,6 +113,8 @@ ${project.build.directory}/dependency/test-constants.properties false + true + true ${auth.server.config.dir}/client.jks secret ${auth.server.config.dir}/keycloak.truststore @@ -204,6 +206,7 @@ process-test-resources run + ${skip.clean.second.cache} ${cache.server.home}/standalone-dc-2 @@ -509,6 +512,7 @@ run + ${skip.copy.auth.crossdc.nodes} @@ -608,16 +612,6 @@ - - maven-antrun-plugin - - - true - -