From d5348066cbc415ceba35ff91b54c47f9e520114c Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Wed, 22 Jul 2020 16:47:47 -0300 Subject: [PATCH] [KEYCLOAK-14639] - Update ISPN schemas and how to run guide --- .../server-x/src/main/content/conf/cluster.xml | 4 ++-- testsuite/integration-arquillian/HOW-TO-RUN.md | 12 ++++++++++++ .../quarkus/src/main/content/conf/cluster-ha.xml | 4 ++-- .../quarkus/src/main/content/conf/cluster-local.xml | 4 ++-- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/distribution/server-x/src/main/content/conf/cluster.xml b/distribution/server-x/src/main/content/conf/cluster.xml index 870142877f..5abc721d79 100644 --- a/distribution/server-x/src/main/content/conf/cluster.xml +++ b/distribution/server-x/src/main/content/conf/cluster.xml @@ -18,8 +18,8 @@ + xsi:schemaLocation="urn:infinispan:config:10.1 http://www.infinispan.org/schemas/infinispan-config-10.1.xsd" + xmlns="urn:infinispan:config:10.1"> diff --git a/testsuite/integration-arquillian/HOW-TO-RUN.md b/testsuite/integration-arquillian/HOW-TO-RUN.md index a072e80dc2..9e5780531f 100644 --- a/testsuite/integration-arquillian/HOW-TO-RUN.md +++ b/testsuite/integration-arquillian/HOW-TO-RUN.md @@ -652,6 +652,11 @@ After you build the distribution, you run this command to setup servers and run ### Cluster tests with Keycloak on Quarkus +Make sure the `testsuite/integration-arquillian/servers/auth-server/quarkus` module was built as follows: + + mvn -f testsuite/integration-arquillian/servers/auth-server/quarkus/pom.xml clean install \ + -Pauth-server-cluster-quarkus + Run tests using the `auth-server-cluster-quarkus` profile: mvn -f testsuite/integration-arquillian/tests/base/pom.xml clean install \ @@ -659,6 +664,13 @@ Run tests using the `auth-server-cluster-quarkus` profile: -Dsession.cache.owners=2 \ -Dtest=AuthenticationSessionFailoverClusterTest +Alternatively, you can perform both steps using the following command: + + mvn -f testsuite/integration-arquillian/pom.xml clean install \ + -Pauth-server-cluster-quarkus \ + -Dsession.cache.owners=2 \ + -Dtest=AuthenticationSessionFailoverClusterTest + --- **NOTE** diff --git a/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-ha.xml b/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-ha.xml index dfd58175e8..5492638ed1 100644 --- a/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-ha.xml +++ b/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-ha.xml @@ -18,8 +18,8 @@ + xsi:schemaLocation="urn:infinispan:config:10.1 http://www.infinispan.org/schemas/infinispan-config-10.1.xsd" + xmlns="urn:infinispan:config:10.1"> diff --git a/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-local.xml b/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-local.xml index da2da830df..987a954653 100644 --- a/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-local.xml +++ b/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/cluster-local.xml @@ -18,8 +18,8 @@ + xsi:schemaLocation="urn:infinispan:config:10.1 http://www.infinispan.org/schemas/infinispan-config-10.1.xsd" + xmlns="urn:infinispan:config:10.1">