mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-25 16:42:34 +00:00
Make persistent sessions co-exist with remote cache feature (#30859)
Closes #30855 Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
committed by
GitHub
parent
523653ba2f
commit
d70f78072e
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
@@ -321,6 +321,10 @@ jobs:
|
||||
if: needs.conditional.outputs.ci-store == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 150
|
||||
strategy:
|
||||
matrix:
|
||||
variant: [ "pus-ec", "pus-rc" ]
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -328,11 +332,24 @@ jobs:
|
||||
name: Integration test setup
|
||||
uses: ./.github/actions/integration-test-setup
|
||||
|
||||
- name: Run base tests without cache
|
||||
- name: Run base tests
|
||||
run: |
|
||||
TESTS=`testsuite/integration-arquillian/tests/base/testsuites/suite.sh persistent-sessions`
|
||||
echo "Tests: $TESTS"
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus -Dauth.server.feature="persistent-user-sessions" -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
|
||||
case "${{ matrix.variant }}" in
|
||||
pus-ec)
|
||||
VARIANT="-Dauth.server.feature=persistent-user-sessions"
|
||||
;;
|
||||
pus-rc)
|
||||
VARIANT="-Pinfinispan-server -Dauth.server.feature=persistent-user-sessions,multi-site,remote-cache"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown Matrix element"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
echo "Variant: $VARIANT"
|
||||
./mvnw test ${{ env.SUREFIRE_RETRY }} -Pauth-server-quarkus $VARIANT -Dtest=$TESTS -pl testsuite/integration-arquillian/tests/base 2>&1 | misc/log/trimmer.sh
|
||||
|
||||
- name: Upload JVM Heapdumps
|
||||
if: always()
|
||||
@@ -349,7 +366,7 @@ jobs:
|
||||
if: always()
|
||||
uses: ./.github/actions/archive-surefire-reports
|
||||
with:
|
||||
job-id: store-integration-tests-${{ matrix.db }}
|
||||
job-id: store-integration-tests-${{ matrix.variant }}
|
||||
|
||||
- name: EC2 Maven Logs
|
||||
if: failure()
|
||||
|
||||
Reference in New Issue
Block a user