8000 Allow any order in Should save several allowed Kerberos realms kerberos test by rmartinc · Pull Request #54717 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Allow any order in Should save several allowed Kerberos realms kerberos test - #54717

Merged
ahus1 merged 1 commit into
keycloak:mainfrom
rmartinc:issue-54716
Nov 5, 2026
Merged

ahus1 merged 1 commit into
keycloak:mainfrom
rmartinc:issue-54716

Conversation

@rmartinc
@rmartinc rmartinc commented Nov 5, 2026
Copy link
Copy Markdown
Contributor

Closes #54716

The test added in #54271 is flaky. The order can be different. For the moment just changing the test to check any order is valid.

…os test

Closes keycloak#54716

Signed-off-by: rmartinc <rmartinc@redhat.com>
@rmartinc
rmartinc requested review from a team as code owners November 5, 2026 16:49
Copilot AI balanced review requested due to automatic review settings November 5, 2026 16:49
@rmartinc
rmartinc commented Nov 5, 2026
Copy link
Copy Markdown
Contributor Author

@michalvavrik Can you please do a quick review for this? 😄
Thanks!

@rmartinc
rmartinc requested a review from michalvavrik November 5, 2026 16:50
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

No active review issues were identified for the Kerberos realm test update.

No open issues 🎉

What changed in this PR

Addresses #54716 by making the Admin UI Kerberos realm test accept either order of saved allowlist values, avoiding failures caused by reordered configuration entries.

Changes:

  • Waits for both realm inputs to contain non-whitespace values.
  • Verifies that both expected realms are present without requiring a specific order.
File Description
js/​apps/​admin-ui/​test/​user-federation/​kerberos.spec.ts Replaces order-dependent realm assertions with an unordered comparison.

Review effort: Balanced

@michalvavrik michalvavrik 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.

Thanks for the fix. This will have to be backported together with the other PR.

@ahus1
ahus1 merged commit e19891a into keycloak:main Nov 5, 2026
71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
< 599B div class="discussion-sidebar-item js-discussion-sidebar-item js-socket-channel js-updatable-content" data-channel="eyJjIjoicHVsbF9yZXF1ZXN0OjUxNzUyODg3MjIiLCJ0IjoxNzk0NTExMzA1fQ==--e45905225f587032f63e7cecdefe345458872980ceac278811debb73028a9940" data-gid="PR_kwDOAKnDVc8AAAABNHijkg" data-url="/keycloak/keycloak/issues/54717/show_partial?partial=issues%2Fsidebar%2Fshow%2Fprojects" data-channel-event-name="projects_updated" >

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should save several allowed Kerberos realms test is flaky

4 participants

0