Skip to content

Commit

Permalink
ignore -race test flag for probabilistic_sampler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mar4uk committed Sep 11, 2023
1 parent 86bf82d commit 00f0447
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ lint: agentlint
# more without -race for packages that have known race detection issues.
test:
$(GO_ENV) go test $(GO_FLAGS) -race ./...
$(GO_ENV) go test $(GO_FLAGS) ./pkg/integrations/node_exporter ./pkg/logs ./pkg/operator ./pkg/util/k8s ./component/otelcol/processor/tail_sampling ./component/loki/source/file
$(GO_ENV) go test $(GO_FLAGS) ./pkg/integrations/node_exporter ./pkg/logs ./pkg/operator ./pkg/util/k8s ./component/otelcol/processor/tail_sampling ./component/loki/source/file ./component/otelcol/processor/probabilistic_sampler

test-packages:
docker pull $(BUILD_IMAGE)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build !race

package probabilistic_sampler

import (
Expand Down

0 comments on commit 00f0447

Please sign in to comment.