Trying to switch the database

Closes #28311

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
Alexander Schwartz 2024-06-11 15:39:34 +02:00 committed by Alexander Schwartz
parent 3bcb8787c8
commit 9ce47fc117
2 changed files with 4 additions and 4 deletions

View file

@ -533,7 +533,7 @@ jobs:
- name: Run cluster tests - name: Run cluster tests
run: | 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 - name: Upload JVM Heapdumps
if: always() if: always()

View file

@ -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 \ mvn -f testsuite/integration-arquillian/servers/auth-server/quarkus/pom.xml clean install \
-Pauth-server-cluster-quarkus -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 \ 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 \ -Dsession.cache.owners=2 \
-Dtest=AuthenticationSessionFailoverClusterTest -Dtest=AuthenticationSessionFailoverClusterTest
Alternatively, you can perform both steps using the following command: Alternatively, you can perform both steps using the following command:
mvn -f testsuite/integration-arquillian/pom.xml clean install \ mvn -f testsuite/integration-arquillian/pom.xml clean install \
-Pauth-server-cluster-quarkus \ -Pauth-server-cluster-quarkus,db-postgres \
-Dsession.cache.owners=2 \ -Dsession.cache.owners=2 \
-Dtest=AuthenticationSessionFailoverClusterTest -Dtest=AuthenticationSessionFailoverClusterTest