From 2ee66af6d48f48d159d4b69b8c07958da670ae60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Tue, 1 Feb 2022 17:16:16 +0100 Subject: [PATCH] Prevent tests running in parallel Each test tries to reset the database, which shouldn't happen in parallel. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f2a77f8a..3cdc980c 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ swagger-ui: @echo 'Now update pkg/api/static/swagger-ui/index.html to have url: "/api/openapi3.json",' test: generate - go test -short ${PKG_LIST} + go test -p 1 -short ${PKG_LIST} vet: @go vet ${PKG_LIST}