Skip to content
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

Fixing the integration tests by separating the integration tests related to rbac and remote functionality #4904

Open
lokeshrangineni opened this issue Jan 7, 2025 · 0 comments

Comments

@lokeshrangineni
Copy link
Contributor

lokeshrangineni commented Jan 7, 2025

Expected Behavior

  • Separating out the integration tests related to rbac and remote functionality.
  • We have to spin up the only one instance of the keycloak for all the integration tests.

Current Behavior

All the local integrations are running in the same job so if we can separate the tests related to rbac and remote functionality it provides more flexibility.

Currently the keycloak instance is spinning up multiple times even though we are using the dist groups. I have enabled the logs and can see multiple keycloak instances being spinning up. This is causing memory issues and eventual failure of the integration job on the PR. We have to spin up the only one instance of the keycloak.

Steps to reproduce

Enable the logger info by passing extra arg -s to pytest command in make file. You can see the logs Starting keycloak instance being printed multiple times.

@lokeshrangineni lokeshrangineni self-assigned this Jan 7, 2025
@lokeshrangineni lokeshrangineni changed the title Fixing the integration tests to spin up only one keycloak instance Fixing the integration tests by separating the integration tests related to rbac and remote functionality Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant