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

Chore: upgrade postgres version on tests and local docker to 11.x #664

Merged
merged 2 commits into from
Jan 6, 2020

Conversation

ivanopagano
Copy link
Contributor

Relates to #625
Since we've now switched to test-containers for db integration tests, we can now upgrade local docker definitions and the tests versions of postgres to 11.x, more in line with production.

 * fix db tests with ordering based on encoding of strings
 * clean up the testcontainers setup
super.beforeEach()
Await.ready(dbHandler.run(truncateAll), 1.second)
()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this line useless?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Essentially yes, but it removes a warning about discarding non-unit values

 * explicitly set (when possible) and verify the sorting of strings
 * avoid the alpine db image since it doesn't correctly use the
   en_US collation type
@vishakh vishakh merged commit 46be283 into master Jan 6, 2020
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