Skip to content

Commit 6508c5c

Browse files
committed
test(sdk): reduce span accounting stress test to 10k spans per thread
Addresses review feedback: 40k total spans still exercises the received+dropped==emitted invariant without adding a 400k-span stress test to the normal unit suite. The targeted race tests cover the race directly.
1 parent 760392a commit 6508c5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opentelemetry-sdk/src/trace/span_processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,7 @@ mod tests {
15241524

15251525
let processor = BatchSpanProcessor::new(exporter, config);
15261526

1527-
let total_spans_per_thread = 100_000;
1527+
let total_spans_per_thread = 10_000;
15281528
let num_threads = 4;
15291529
let total_spans_to_emit = total_spans_per_thread * num_threads;
15301530

0 commit comments

Comments
 (0)