Skip to content

Commit d2afa4a

Browse files
committed
ignore -race test flag for probabilistic_sampler tests
1 parent 3b32392 commit d2afa4a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ lint: agentlint
172172
# more without -race for packages that have known race detection issues.
173173
test:
174174
$(GO_ENV) go test $(GO_FLAGS) -race ./...
175-
$(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
175+
$(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
176176

177177
test-packages:
178178
docker pull $(BUILD_IMAGE)

component/otelcol/processor/probabilistic_sampler/probabilistic_sampler_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !race
2+
13
package probabilistic_sampler
24

35
import (

0 commit comments

Comments
 (0)