From 0652bba8bceb6b204d895db61999dfc5d6d1fee2 Mon Sep 17 00:00:00 2001 From: kylecarbs Date: Fri, 8 Jul 2022 02:42:39 +0000 Subject: [PATCH] fix: Reduce count to 1 for PostgreSQL tests 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3cdc0b1bc2472..2bd99a8a0664e 100644 --- a/Makefile +++ b/Makefile @@ -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: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy