From f409f02f912632d99a8199b3c3a2128310224325 Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Sun, 6 Sep 2026 18:15:51 +0200 Subject: [PATCH] fix: make test now only runs with -race on amd64 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28fc241..363afeb 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,11 @@ run: build-api ## test: Run tests with race detector test: @echo "Running tests..." - @go test -v -race -timeout 30s ./... + @if [ "$$(go env GOARCH)" = "amd64" ]; then \ + go test -race -timeout 30s ./...; \ + else \ + go test -timeout 60s ./...; \ + fi ## test-cover: Run tests and generate coverage report test-cover: