Skip to content

Datasource not responding using org.testcontainers:postgresql in 1.18.3 (works in 1.17.3) #7139

Closed Answered by eddumelendez
Mahoney asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK, postgres default image doesn't bring ssl enabled and previous to 1.17.4 the properties in the datasource were ignored. See #5829

addDataSourceProperty("ssl", true) is adding the property to the testcontainers connection string? If so, a quick test is setting ssl to false and the proper one is to configure postgres image to require ssl

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mahoney
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants