You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry-sdk/src/trace/span_processor.rs
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1256,10 +1256,9 @@ mod tests {
1256
1256
fnbatchspanprocessor_handles_dropped_spans(){
1257
1257
let exporter = MockSpanExporter::new();
1258
1258
let exporter_shared = exporter.exported_spans.clone();// Shared access to verify exported spans
1259
-
// Explicitly set max_export_batch_size to avoid environment variable override that could cause the test to fail when OTEL_BSP_MAX_EXPORT_BATCH_SIZE is set to 2
1260
1259
let config = BatchConfigBuilder::default()
1261
1260
.with_max_queue_size(2)// Small queue size to test span dropping
1262
-
.with_max_export_batch_size(512)// Explicitly set to default to avoid env var override
1261
+
.with_max_export_batch_size(512)// Explicitly set to avoid env var override
1263
1262
.with_scheduled_delay(Duration::from_secs(5))
1264
1263
.build();
1265
1264
let processor = BatchSpanProcessor::new(exporter, config);
0 commit comments