Skip to content

Migrate ClientSecretRotationTest to the new CI - #51081

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
rmartinc:issue-50886
Jul 27, 2026
Merged

Migrate ClientSecretRotationTest to the new CI#51081
ahus1 merged 1 commit into
keycloak:mainfrom
rmartinc:issue-50886

Conversation

@rmartinc

Copy link
Copy Markdown
Contributor

Closes #50886

Migration of the ClientSecretRotationTest to the new CI. @mabartos take a look when you have time. See if it's a good time or you prefer to wait to have all the remaining issues fixed.

Closes keycloak#50886

Signed-off-by: rmartinc <rmartinc@redhat.com>
Copilot AI review requested due to automatic review settings July 22, 2026 08:02
@rmartinc
rmartinc requested review from a team as code owners July 22, 2026 08:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates ClientSecretRotationTest to the new test framework and CI infrastructure.

Changes:

  • Reworks test setup using managed realms, OAuth clients, events, and time offsets.
  • Adds a builder helper for client access-type policy conditions.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/base/src/test/java/org/keycloak/tests/client/ClientSecretRotationTest.java Migrates the client secret rotation integration tests.
test-framework/builders/src/main/java/org/keycloak/testframework/realm/ClientPolicyBuilder.java Adds client access-type condition configuration support.

@mabartos
mabartos requested a review from vaceksimon July 22, 2026 08:21
@mabartos

Copy link
Copy Markdown
Member

@mabartos take a look when you have time. See if it's a good time or you prefer to wait to have all the remaining issues fixed.

@rmartinc The remaining issues should be more-or-less fixed. It'd be nice, if @vaceksimon could review this one as well. Thanks!

@vaceksimon vaceksimon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me!

@mabartos mabartos left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ahus1
ahus1 enabled auto-merge (squash) July 27, 2026 11:51
@ahus1
ahus1 merged commit 1e27812 into keycloak:main Jul 27, 2026
91 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate ClientSecretRotationTest to the new CI

5 participants