Skip to content

Conversation

@lmarini
Copy link
Member

@lmarini lmarini commented Sep 21, 2022

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.

@lmarini
Copy link
Member Author

lmarini commented Sep 23, 2022

@ddey2 the elasticsearch test claims it passed, but in the shell there is an error printed out. Not sure why.

PASSED [ 36%]ERROR:app.elastic_search.connect:BadRequestError(400, 'illegal_argument_exception', 'unknown setting [index.mappings.properties.creator.type] please check that any required plugins are installed, or check the breaking changes documentation for removed settings')

@ddey2
Copy link
Member

ddey2 commented Sep 23, 2022

@lmarini I will checkout this branch and try this out. I will keep you posted.

Copy link
Contributor

@max-zilla max-zilla left a 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.

@max-zilla max-zilla merged commit 5d38684 into main Sep 26, 2022
@max-zilla max-zilla deleted the fix/pytest-keycloak-timeout branch September 26, 2022 19:03
@ddey2 ddey2 requested review from ddey2 and removed request for ddey2 September 26, 2022 19:20
@ddey2 ddey2 requested review from ddey2 and removed request for ddey2 October 6, 2022 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants