Skip to content

Commit 22a898b

Browse files
committed
Add a auth-config for local connections in testing
When the testsuite is run with the testcontainers backend, the integration tests were failing with newer versions of the postgres docker image. The failures were caused by the docker-container not properly starting which itself was caused by a missing entry in the `pg_hba.conf` for local connections.
1 parent cb434a2 commit 22a898b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/resources/pg_hba.conf

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
hostnossl all test all md5
1+
hostnossl all test all md5
22
hostnossl all test-scram all scram-sha-256
3-
hostssl all test-ssl all password
3+
hostssl all test-ssl all password
44
hostssl all test-ssl-with-cert all cert
5+
local all all md5

0 commit comments

Comments
 (0)