fix: Reduce count to 1 for PostgreSQL tests (#2852)

It's unnecessary for these to run twice. It increases CI times  without
providing much additional assurance tests don't have race conditions.
This already runs with `-race` too.
This commit is contained in:
Kyle Carberry 2022-07-07 23:14:35 -05:00 committed by GitHub
parent dc58d1b734
commit 3d40cb85b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ test-postgres: test-clean test-postgres-docker
DB=ci DB_FROM=$(shell go run scripts/migrate-ci/main.go) gotestsum --junitfile="gotests.xml" --packages="./..." -- \
-covermode=atomic -coverprofile="gotests.coverage" -timeout=30m \
-coverpkg=./...,github.com/coder/coder/codersdk \
-count=2 -race -failfast
-count=1 -race -failfast
.PHONY: test-postgres
test-postgres-docker: