From 9ce47fc117b472eaa1f5c3eeca130dfa3920d496 Mon Sep 17 00:00:00 2001 From: Alexander Schwartz Date: Tue, 11 Jun 2024 15:39:34 +0200 Subject: [PATCH] Trying to switch the database Closes #28311 Signed-off-by: Alexander Schwartz --- .github/workflows/ci.yml | 2 +- testsuite/integration-arquillian/HOW-TO-RUN.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20e50347d7d..05280ba3303 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -533,7 +533,7 @@ jobs: - name: Run cluster tests run: | - ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-cluster-quarkus -Dsession.cache.owners=2 -Dtest=**.cluster.** -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh + ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-cluster-quarkus,db-postgres -Dsession.cache.owners=2 -Dtest=**.cluster.** -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh - name: Upload JVM Heapdumps if: always() diff --git a/testsuite/integration-arquillian/HOW-TO-RUN.md b/testsuite/integration-arquillian/HOW-TO-RUN.md index 50a1cae3fde..ade4e7ba8db 100644 --- a/testsuite/integration-arquillian/HOW-TO-RUN.md +++ b/testsuite/integration-arquillian/HOW-TO-RUN.md @@ -357,17 +357,17 @@ Make sure the `testsuite/integration-arquillian/servers/auth-server/quarkus` mod 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: +Run tests using the `auth-server-cluster-quarkus` profile and with a database which is not H2: mvn -f testsuite/integration-arquillian/tests/base/pom.xml clean install \ - -Pauth-server-cluster-quarkus \ + -Pauth-server-cluster-quarkus,db-postgres \ -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 \ + -Pauth-server-cluster-quarkus,db-postgres \ -Dsession.cache.owners=2 \ -Dtest=AuthenticationSessionFailoverClusterTest