From b3ef2934b78a3996bacf720c483ed12a0e385724 Mon Sep 17 00:00:00 2001 From: Arijit Das Date: Wed, 9 Jun 2021 09:44:00 +0530 Subject: [PATCH] Restore integration test target in Makefile. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d970a0f4..720a196e 100644 --- a/Makefile +++ b/Makefile @@ -67,10 +67,10 @@ test: | $(GINKGO) $(GOOSE) integrationtest: | $(GINKGO) $(GOOSE) go vet ./... go fmt ./... - export PGPASSWORD=$(DATABASE_PASSWORD) - dropdb -h $(DATABASE_HOSTNAME) -p $(DATABASE_PORT) -U $(DATABASE_USER) --if-exists $(TEST_DB) - createdb -h $(DATABASE_HOSTNAME) -p $(DATABASE_PORT) -U $(DATABASE_USER) $(TEST_DB) - $(GOOSE) -dir db/migrations postgres "$(TEST_CONNECT_STRING)" up + #export PGPASSWORD=$(DATABASE_PASSWORD) + #dropdb -h $(DATABASE_HOSTNAME) -p $(DATABASE_PORT) -U $(DATABASE_USER) --if-exists $(TEST_DB) + #createdb -h $(DATABASE_HOSTNAME) -p $(DATABASE_PORT) -U $(DATABASE_USER) $(TEST_DB) + #$(GOOSE) -dir db/migrations postgres "$(TEST_CONNECT_STRING)" up $(GINKGO) -r test/ -v .PHONY: test_local