File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,6 @@ import (
1111 "sync"
1212 "testing"
1313
14- "go.opentelemetry.io/otel/sdk/log/internal/counter"
15-
1614 "github.com/stretchr/testify/assert"
1715 "github.com/stretchr/testify/require"
1816
@@ -21,6 +19,7 @@ import (
2119 "go.opentelemetry.io/otel/sdk"
2220 "go.opentelemetry.io/otel/sdk/instrumentation"
2321 "go.opentelemetry.io/otel/sdk/log"
22+ "go.opentelemetry.io/otel/sdk/log/internal/counter"
2423 "go.opentelemetry.io/otel/sdk/log/internal/observ"
2524 "go.opentelemetry.io/otel/sdk/metric"
2625 "go.opentelemetry.io/otel/sdk/metric/metricdata"
@@ -165,7 +164,7 @@ func BenchmarkSimpleProcessorOnEmit(b *testing.B) {
165164
166165func BenchmarkSimpleProcessorObservability (b * testing.B ) {
167166 run := func (b * testing.B ) {
168- slp := log .NewSimpleProcessor (new ( exporter ) )
167+ slp := log .NewSimpleProcessor (& failingTestExporter { exporter : exporter {}} )
169168 record := new (log.Record )
170169 record .SetSeverityText ("test" )
171170
You can’t perform that action at this time.
0 commit comments