diff --git a/Makefile b/Makefile index 553118b5b..ec19c971c 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ prepare: fmt test vet test: @echo "$(OK_COLOR)Test packages$(NO_COLOR)" - @go test -v ./... + go test -race -v ./... coverage: @echo "$(OK_COLOR)Make coverage report$(NO_COLOR)" diff --git a/tests/acceptance/http_test.go b/tests/acceptance/http_test.go index 2870e3c68..e34f7bfa9 100644 --- a/tests/acceptance/http_test.go +++ b/tests/acceptance/http_test.go @@ -111,11 +111,9 @@ func (s *PandoraSuite) Test_Http_Check_Passes() { s.Run(tt.name, func() { var requetsCount atomic.Int64 // Request served by test server. requetsCount.Store(0) - var reqs []string srv := httptest.NewUnstartedServer(http.HandlerFunc( func(rw http.ResponseWriter, req *http.Request) { requetsCount.Inc() - reqs = append(reqs, req.URL.String()) rw.WriteHeader(http.StatusOK) })) defer srv.Close()