-
Notifications
You must be signed in to change notification settings - Fork 6
Fix/pytest keycloak timeout #98
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
Conversation
Removed platform for docker compose elasticsearch services as it was not working with older macs.
Don't mount keycloak data directory and fix volume for Elasticsearch and Keycloak.
# Conflicts: # docker-compose.dev.yml
the pytest would pass.
Removed requirements.txt. We should be using Pipfile.
|
@ddey2 the elasticsearch test claims it passed, but in the shell there is an error printed out. Not sure why.
|
|
@lmarini I will checkout this branch and try this out. I will keep you posted. |
max-zilla
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified this fixed the tests.
I had to change keycloak back to not mounting the local data directory use the postgres services. The env variables changed with the new version of Keycloak and it wasn't connecting to it at all. It was default to H2 database. @tcnichol the change you made fixed it because it was then storing the H2 files in a volume, but it was still ignoring the posgres database. I am not sure why this fixed the pytest build on the server.