diff --git a/clientapi/auth/storage/devices/storage_test.go b/clientapi/auth/storage/devices/storage_test.go index 550d666ec..04789a106 100644 --- a/clientapi/auth/storage/devices/storage_test.go +++ b/clientapi/auth/storage/devices/storage_test.go @@ -28,7 +28,7 @@ func init() { } if insideCi { - dataSource = "postgres://postgres@postgres/dendrite_device?sslmode=disable" + dataSource = "postgres://postgres@localhost/dendrite_device?sslmode=disable" } else if insideDocker { dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_device?sslmode=disable" } else { diff --git a/syncapi/storage/output_room_events_table_test.go b/syncapi/storage/output_room_events_table_test.go index a031ac969..9b66173ce 100644 --- a/syncapi/storage/output_room_events_table_test.go +++ b/syncapi/storage/output_room_events_table_test.go @@ -29,7 +29,7 @@ func init() { } if insideCi { - dataSource = "postgres://postgres@postgres/dendrite_syncapi?sslmode=disable" + dataSource = "postgres://postgres@localhost/dendrite_syncapi?sslmode=disable" } else if insideDocker { dataSource = "postgres://dendrite:itsasecret@postgres/dendrite_syncapi?sslmode=disable" } else {