Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d40cb8

Browse files
authored
fix: Reduce count to 1 for PostgreSQL tests (coder#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.
1 parent dc58d1b commit 3d40cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

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

181181
test-postgres-docker:

0 commit comments

Comments
 (0)