Skip to content

Commit

Permalink
chore: Autofix linting problems
Browse files Browse the repository at this point in the history
  • Loading branch information
TeodorSAP committed Nov 29, 2024
1 parent 425993a commit 625576b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ func TestBuildConfig(t *testing.T) {
testutils.NewLogPipelineBuilder().WithName("test-3").WithOTLPOutput().Build()})

require.NoError(t, err)

expectedQueueSize := 85
require.Equal(t, expectedQueueSize, collectorConfig.Exporters["otlp/test-1"].OTLP.SendingQueue.QueueSize, "Queue size should be divided by the number of pipelines")
require.Equal(t, expectedQueueSize, collectorConfig.Exporters["otlp/test-2"].OTLP.SendingQueue.QueueSize, "Queue size should be divided by the number of pipelines")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,9 @@ func TestMakeConfig(t *testing.T) {
},
BuildOptions{},
)

require.NoError(t, err)

expectedQueueSize := 85
require.Equal(t, expectedQueueSize, collectorConfig.Exporters["otlp/test-1"].OTLP.SendingQueue.QueueSize, "Queue size should be divided by the number of pipelines")
require.Equal(t, expectedQueueSize, collectorConfig.Exporters["otlp/test-2"].OTLP.SendingQueue.QueueSize, "Queue size should be divided by the number of pipelines")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func TestBuildConfig(t *testing.T) {
testutils.NewTracePipelineBuilder().WithName("test-3").Build()})

require.NoError(t, err)

expectedQueueSize := 85
require.Equal(t, expectedQueueSize, collectorConfig.Exporters["otlp/test-1"].OTLP.SendingQueue.QueueSize, "Queue size should be divided by the number of pipelines")
require.Equal(t, expectedQueueSize, collectorConfig.Exporters["otlp/test-2"].OTLP.SendingQueue.QueueSize, "Queue size should be divided by the number of pipelines")
Expand Down

0 comments on commit 625576b

Please sign in to comment.