Skip to content

Commit

Permalink
fix test adding queueSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
pollosp committed Jan 20, 2025
1 parent 79a3531 commit 21417c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exporter/awss3exporter/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ func TestConfigS3StorageClaas(t *testing.T) {
require.NotNil(t, cfg)

e := cfg.Exporters[component.MustNewID("awss3")].(*Config)
queueCfg := exporterhelper.NewDefaultQueueConfig()
queueCfg.Enabled = false

assert.Equal(t, &Config{
S3Uploader: S3UploaderConfig{
Expand All @@ -114,6 +116,7 @@ func TestConfigS3StorageClaas(t *testing.T) {
Endpoint: "http://endpoint.com",
StorageClass: "STANDARD_IA",
},
QueueSettings: queueCfg,
MarshalerName: "otlp_json",
}, e,
)
Expand Down

0 comments on commit 21417c8

Please sign in to comment.