File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
exporter/coralogixexporter Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,8 +158,8 @@ func TestLoadConfig(t *testing.T) {
158
158
BatcherConfig : exporterbatcher.Config {
159
159
Enabled : true ,
160
160
FlushTimeout : 3 * time .Second ,
161
- MinSizeConfig : exporterbatcher.MinSizeConfig {
162
- MinSizeItems : 8888 ,
161
+ SizeConfig : exporterbatcher.SizeConfig {
162
+ MinSize : 8888 ,
163
163
},
164
164
},
165
165
},
@@ -340,7 +340,7 @@ func TestCreateExportersWithBatcher(t *testing.T) {
340
340
cfg .AppName = "test-app"
341
341
cfg .BatcherConfig .Enabled = true
342
342
cfg .BatcherConfig .FlushTimeout = 1 * time .Second
343
- cfg .BatcherConfig .MinSizeItems = 100
343
+ cfg .BatcherConfig .MinSize = 100
344
344
345
345
// Test traces exporter
346
346
t .Run ("traces_with_batcher" , func (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments