Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Fix go.mod
  • Loading branch information
Fiery-Fenix committed Nov 4, 2024
1 parent 65b6d73 commit 3a856cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions exporter/loadbalancingexporter/factory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ func TestBuildExporterConfig(t *testing.T) {
// verify
grpcSettings := defaultCfg.ClientConfig
grpcSettings.Endpoint = "the-endpoint"
if c.(*Config).QueueSettings.Enabled {
defaultCfg.QueueConfig.Enabled = false
}
assert.Equal(t, grpcSettings, exporterCfg.ClientConfig)

assert.Equal(t, defaultCfg.TimeoutConfig, exporterCfg.TimeoutConfig)
Expand Down
2 changes: 1 addition & 1 deletion exporter/loadbalancingexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.112.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.112.0
go.opentelemetry.io/collector/config/configretry v1.18.0
go.opentelemetry.io/collector/config/configtelemetry v0.112.0
go.opentelemetry.io/collector/confmap v1.18.0
go.opentelemetry.io/collector/consumer v0.112.0
Expand Down Expand Up @@ -113,7 +114,6 @@ require (
go.opentelemetry.io/collector/config/configgrpc v0.112.0 // indirect
go.opentelemetry.io/collector/config/confignet v1.18.0 // indirect
go.opentelemetry.io/collector/config/configopaque v1.18.0 // indirect
go.opentelemetry.io/collector/config/configretry v1.18.0 // indirect
go.opentelemetry.io/collector/config/configtls v1.18.0 // indirect
go.opentelemetry.io/collector/config/internal v0.112.0 // indirect
go.opentelemetry.io/collector/confmap/provider/envprovider v1.18.0 // indirect
Expand Down

0 comments on commit 3a856cb

Please sign in to comment.