diff --git a/Tests/AppTests/Helpers/ShellOutCommand+ext.swift b/Tests/AppTests/Helpers/ShellOutCommand+ext.swift index ebb9b9c09..e66f06625 100644 --- a/Tests/AppTests/Helpers/ShellOutCommand+ext.swift +++ b/Tests/AppTests/Helpers/ShellOutCommand+ext.swift @@ -22,11 +22,13 @@ extension ShellOutCommand { "-e", "POSTGRES_DB=spi_test", "-e", "POSTGRES_USER=spi_test", "-e", "POSTGRES_PASSWORD=xxx", + "-e", "POSTGRES_HOST_AUTH_METHOD=md5", + "-e", "POSTGRES_INITDB_ARGS=--auth-host=md5", "-e", "PGDATA=/pgdata", "--tmpfs", "/pgdata:rw,noexec,nosuid,size=1024m", "-p", "\(port):5432", "-d", - "postgres:13-alpine" + "postgres:16-alpine" ]) } diff --git a/scripts/start-ci-dbs.sh b/scripts/start-ci-dbs.sh index 6c0fc2d55..f11b69dc8 100755 --- a/scripts/start-ci-dbs.sh +++ b/scripts/start-ci-dbs.sh @@ -12,9 +12,11 @@ for port in {0..7}; do -e POSTGRES_DB=spi_test \ -e POSTGRES_USER=spi_test \ -e POSTGRES_PASSWORD=xxx \ + -e POSTGRES_HOST_AUTH_METHOD=md5 \ + -e POSTGRES_INITDB_ARGS="--auth-host=md5" \ -e PGDATA=/pgdata \ --tmpfs /pgdata:rw,noexec,nosuid,size=1024m \ --network spi_test \ -d \ - postgres:13-alpine + postgres:16-alpine done