Skip to content

Commit cf761ec

Browse files
committed
build(postgres): update test target for the current test files
1 parent c7dd77d commit cf761ec

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docker/Makefile.postgresql

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ SUPABASE_DB_PORT ?= 54322
131131
SUPABASE_DB_PASSWORD ?= postgres
132132
PG_DOCKER_DB_HOST ?= localhost
133133
PG_DOCKER_DB_PORT ?= 5432
134-
PG_DOCKER_DB_NAME ?= cloudsync_test
134+
PG_DOCKER_DB_NAME ?= postgres
135135
PG_DOCKER_DB_USER ?= postgres
136136
PG_DOCKER_DB_PASSWORD ?= postgres
137137

@@ -280,16 +280,16 @@ postgres-supabase-rebuild: postgres-supabase-build
280280
@echo "Supabase CLI stack restarted."
281281

282282
# Run smoke test against Supabase CLI local database
283-
postgres-supabase-run-smoke-test:
284-
@echo "Running Supabase CLI smoke test..."
285-
@PGPASSWORD="$(SUPABASE_DB_PASSWORD)" psql postgresql://supabase_admin@$(SUPABASE_DB_HOST):$(SUPABASE_DB_PORT)/postgres -f docker/postgresql/smoke_test.sql
286-
@echo "Smoke test completed."
283+
postgres-supabase-run-test:
284+
@echo "Running Supabase CLI test..."
285+
@PGPASSWORD="$(SUPABASE_DB_PASSWORD)" psql postgresql://supabase_admin@$(SUPABASE_DB_HOST):$(SUPABASE_DB_PORT)/postgres -f test/postgresql/full_test.sql
286+
@echo "Test completed."
287287

288288
# Run smoke test against Docker standalone database
289-
postgres-docker-run-smoke-test:
290-
@echo "Running Docker smoke test..."
291-
@PGPASSWORD="$(PG_DOCKER_DB_PASSWORD)" psql postgresql://$(PG_DOCKER_DB_USER)@$(PG_DOCKER_DB_HOST):$(PG_DOCKER_DB_PORT)/$(PG_DOCKER_DB_NAME) -f docker/postgresql/smoke_test.sql
292-
@echo "Smoke test completed."
289+
postgres-docker-run-test:
290+
@echo "Running Docker test..."
291+
@PGPASSWORD="$(PG_DOCKER_DB_PASSWORD)" psql postgresql://$(PG_DOCKER_DB_USER)@$(PG_DOCKER_DB_HOST):$(PG_DOCKER_DB_PORT)/$(PG_DOCKER_DB_NAME) -f docker/postgresql/full_test.sql
292+
@echo "Test completed."
293293

294294
# ============================================================================
295295
# Development Workflow Targets

0 commit comments

Comments
 (0)