-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
keycloak: update integration tests for compatability with latest keycloak versions #9744
Open
1 task done
Comments
armkeh
added a commit
to armkeh/community.general
that referenced
this issue
Feb 15, 2025
… info integration test (ansible-collections#9726) This test needs a further fix; see ansible-collections#9744. Left for a future PR for now.
Files identified in the description: If these files are incorrect, please update the |
russoz
pushed a commit
that referenced
this issue
Feb 15, 2025
… conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726)
patchback bot
pushed a commit
that referenced
this issue
Feb 15, 2025
… conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726) (cherry picked from commit 910c57a)
patchback bot
pushed a commit
that referenced
this issue
Feb 15, 2025
… conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726) (cherry picked from commit 910c57a)
patchback bot
pushed a commit
that referenced
this issue
Feb 15, 2025
… conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726) (cherry picked from commit 910c57a)
felixfontein
pushed a commit
that referenced
this issue
Feb 15, 2025
…ests by removing jinja2 templating from conditionals (#9726) (#9746) keycloak: repair integration tests by removing jinja2 templating from conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726) (cherry picked from commit 910c57a) Co-authored-by: Mark Armstrong <[email protected]>
felixfontein
pushed a commit
that referenced
this issue
Feb 15, 2025
…ests by removing jinja2 templating from conditionals (#9726) (#9747) keycloak: repair integration tests by removing jinja2 templating from conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726) (cherry picked from commit 910c57a) Co-authored-by: Mark Armstrong <[email protected]>
felixfontein
pushed a commit
that referenced
this issue
Feb 15, 2025
…tests by removing jinja2 templating from conditionals (#9726) (#9748) keycloak: repair integration tests by removing jinja2 templating from conditionals (#9726) (#9727) * fix: remove jinja2 templating from conditionals in keycloak_role module integration tests (#9726) * fix: remove jinja2 templating in conditional in keycloak clientsecret info integration test (#9726) This test needs a further fix; see #9744. Left for a future PR for now. * fix: remove jinja2 templating in conditional in keycloak clientsecret regenerate integration test (#9726) * chore: remove jinja2 templating in conditional in keycloak user federation integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * chore: remove jinja2 templating in conditional in keycloak user rolemapping integration test (#9726) These instances of templating were not causing failures, but this removes the warnings. * docs: add changelog fragment (#9726) * docs: repair changelog fragment yaml (#9726) * docs: actually repair changelog fragment yaml (#9726) * chore: remove changelog fragment for test only pr (#9726) (cherry picked from commit 910c57a) Co-authored-by: Mark Armstrong <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The integration tests for some Keycloak modules fail due to changes to Keycloak. For instance, the
keycloak_clientsecret_info
test fails because it does not setpublic_client: false
when creating the client, and the resulting client has no secret se, causing the later assertion step to fail.Issue Type
Bug Report
Component Name
keycloak_clientsecret_info
Ansible Version
Community.general Version
main (d756aeb)
Configuration
No response
OS / Environment
No response
Steps to Reproduce
Start Keycloak.
Run one of the affected integration tests, e.g.,
Expected Results
All integration test steps pass.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: