Skip to content

Commit 389dd3d

Browse files
AchoArnoldCopilot
andcommitted
test: update env vars for cockroachdb connection
Point DATABASE_URL at cockroachdb:26257 with root user (insecure mode). Enable DATABASE_MIGRATION_CONSTRAINT_FIX for CockroachDB compatibility. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 324c4e3 commit 389dd3d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/.env.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ EVENTS_QUEUE_ENDPOINT=http://localhost:8000/v1/events
88
EVENTS_QUEUE_USER_API_KEY=system-user-api-key
99
EVENTS_QUEUE_USER_ID=system-user-id
1010
FCM_ENDPOINT=http://wiremock:8080
11-
DATABASE_URL=postgresql://dbusername:dbpassword@postgres:5432/httpsms
12-
DATABASE_URL_DEDICATED=postgresql://dbusername:dbpassword@postgres:5432/httpsms
11+
DATABASE_URL=postgresql://root@cockroachdb:26257/httpsms?sslmode=disable
12+
DATABASE_URL_DEDICATED=postgresql://root@cockroachdb:26257/httpsms?sslmode=disable
13+
DATABASE_MIGRATION_CONSTRAINT_FIX=1
1314
REDIS_URL=redis://@redis:6379
1415
APP_PORT=8000
1516
APP_NAME=httpSMS

0 commit comments

Comments
 (0)