8000 [Quarkus 4] Replace the mock instance tracker's internal Vert.x collection by Pepo48 · Pull Request #54593 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

[Quarkus 4] Replace the mock instance tracker's internal Vert.x collection - #54593

Merged
shawkins merged 1 commit into
keycloak:mainfrom
Pepo48:issue-54592
Nov 3, 2026
Merged

shawkins merged 1 commit into
keycloak:mainfrom
Pepo48:issue-54592

Conversation

@Pepo48
@Pepo48 Pepo48 commented Nov 3, 2026
Copy link
Copy Markdown
Contributor

Closes: #54592

This can directly go to main.

…ction

Closes: keycloak#54592

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Copilot AI lite review requested due to automatic review settings November 3, 2026 15:10
@Pepo48
Pepo48 requested a review from a team as a code owner November 3, 2026 15:10
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.

🟢 Approval recommended

The change cleanly replaces the removed Vert.x collection with JDK concurrent sets while preserving thread-safe tracking and reset behavior, with no active review issues identified.

No open issues 🎉

What changed in this PR

Replaces Vert.x’s removed internal ConcurrentHashSet with JDK concurrent sets in the mock instance tracker, maintaining thread-safe behavior for Quarkus 4 compatibility.

Changes:

  • Removes the internal Vert.x collection dependency.
  • Uses ConcurrentHashMap.newKeySet() for active and closed mock instances.
  • Preserves existing set operations and reset behavior.
File Description
test-framework/​core/​src/​test/​java/​org/​keycloak/​testframework/​injection/​mocks/​MockInstances.java Replaces Vert.x concurrent sets with JDK concurrent sets.

Review effort: Lite

@shawkins
shawkins merged commit 2174fdf into keycloak:main Nov 3, 2026
97 checks passed
@Pepo48 Pepo48 mentioned this pull request Nov 6, 2026
8 of 14 tasks
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.

[Quarkus 4] Replace the mock instance tracker's internal Vert.x collection

3 participants

0