From 808dd34f2124ee6fa10ed69e314e828e4b5cae8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Madrigal=20=F0=9F=90=A7?= <599908+Madrigal@users.noreply.github.com> Date: Mon, 11 Nov 2024 21:16:04 -0500 Subject: [PATCH] Explicitely set the number of CPU cores to use --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f8da2396fca..04a29ca1cba 100644 --- a/Makefile +++ b/Makefile @@ -276,13 +276,13 @@ unit-race-modules-%: experimental-module: go list -f "{{.Dir}}/..." -m | xargs go vet ${BUILD_TAGS} --all && \ go list -f "{{.Dir}}/..." -m | xargs go test ${BUILD_TAGS} ${RUN_NONE} && \ - go list -f "{{.Dir}}/..." -m | xargs go test -timeout=2m ${UNIT_TEST_TAGS} -race + go list -f "{{.Dir}}/..." -m | xargs go test -timeout=2m ${UNIT_TEST_TAGS} -race -cpu=4 # same as regular but no race test experimental-module-no-race: go list -f "{{.Dir}}/..." -m | xargs go vet ${BUILD_TAGS} --all && \ go list -f "{{.Dir}}/..." -m | xargs go test ${BUILD_TAGS} ${RUN_NONE} && \ - go list -f "{{.Dir}}/..." -m | xargs go test -timeout=2m ${UNIT_TEST_TAGS} + go list -f "{{.Dir}}/..." -m | xargs go test -timeout=2m ${UNIT_TEST_TAGS} -cpu=4 unit-modules-%: