From 5246fffb038b16e8e43e49f032c2a4cad4ee06e2 Mon Sep 17 00:00:00 2001 From: Ryan Emerson Date: Fri, 25 Oct 2024 11:34:53 +0100 Subject: [PATCH] Reuse a single DB instance across all tests in the store-integration-tests job (#34340) Closes #34339 Signed-off-by: Ryan Emerson --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5bb80f7289..64bfb232fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -599,7 +599,12 @@ jobs: run: | TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh database` echo "Tests: $TESTS" - ./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Pdb-${{ matrix.db }} "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh + ./mvnw test ${{ env.SUREFIRE_RETRY }} \ + -Pauth-server-quarkus -Pdb-${{ matrix.db }} \ + "-Dwebdriver.chrome.driver=$CHROMEWEBDRIVER/chromedriver" \ + -Dtest=$TESTS \ + -Ddocker.keepRunning \ + -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh - name: Run cluster JDBC_PING2 UDP smoke test run: | @@ -609,6 +614,8 @@ jobs: -Dtest=RealmInvalidationClusterTest \ -Dsession.cache.owners=2 \ -Dauth.server.quarkus.cluster.stack=jdbc-ping-udp \ + -Ddocker.database.skip=true \ + -Dauth.server.db.host=localhost \ -pl testsuite/integration-arquillian/tests/base \ 2>&1 | misc/log/trimmer.sh @@ -620,6 +627,8 @@ jobs: -Dtest=RealmInvalidationClusterTest \ -Dsession.cache.owners=2 \ -Dauth.server.quarkus.cluster.stack=jdbc-ping \ + -Ddocker.database.skip=true \ + -Dauth.server.db.host=localhost \ -pl testsuite/integration-arquillian/tests/base \ 2>&1 | misc/log/trimmer.sh