Skip to content

Commit

Permalink
Remove variable copy
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi committed Sep 23, 2024
1 parent 0626791 commit 795cba1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions exporter/collector/integrationtest/logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ func TestLogs(t *testing.T) {
timestamp := time.Now()

for _, test := range testcases.LogsTestCases {
test := test

t.Run(test.Name, func(t *testing.T) {
logs := test.LoadOTLPLogsInput(t, timestamp)

Expand Down
4 changes: 0 additions & 4 deletions exporter/collector/integrationtest/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ func TestCollectorMetrics(t *testing.T) {
startTime := endTime.Add(-time.Second)

for _, test := range testcases.MetricsTestCases {
test := test

t.Run(test.Name, func(t *testing.T) {
test.SkipIfNeeded(t)

Expand Down Expand Up @@ -166,8 +164,6 @@ func TestSDKMetrics(t *testing.T) {
startTime := endTime.Add(-time.Second)

for _, test := range testcases.MetricsTestCases {
test := test

t.Run(test.Name, func(t *testing.T) {
test.SkipIfNeededForSDK(t)

Expand Down
2 changes: 0 additions & 2 deletions exporter/collector/integrationtest/traces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ func TestTraces(t *testing.T) {
startTime := endTime.Add(-time.Second)

for _, test := range testcases.TracesTestCases {
test := test

t.Run(test.Name, func(t *testing.T) {
test.SkipIfNeeded(t)

Expand Down

0 comments on commit 795cba1

Please sign in to comment.