Skip to content

Fix Batching sink tests flakiness.#8081

Merged
NachoEchevarria merged 3 commits intomasterfrom
nacho/BatchingSinkTestFlakiness
Jan 22, 2026
Merged

Fix Batching sink tests flakiness.#8081
NachoEchevarria merged 3 commits intomasterfrom
nacho/BatchingSinkTestFlakiness

Conversation

@NachoEchevarria
Copy link
Collaborator

@NachoEchevarria NachoEchevarria commented Jan 20, 2026

Summary of changes

Fixes race conditions in BatchingSinkTests that caused intermittent test failures in CI.

Reason for change

Failing tests are WhenRunning_AndAnEventIsQueued_ItIsWrittenToABatch and WhenRunning_AndAnEventIsQueued_ItIsWrittenToABatchOnDispose

Both tests were failing intermittently with:

Expected sink.Batches.TryPeek(out var batch) to be 1, but found 0 (difference of -1).

The tests have been marked as flaky until solved.

Implementation details

Test coverage

Other details

@github-actions github-actions bot added the area:tests unit tests, integration tests label Jan 20, 2026
@dd-trace-dotnet-ci-bot
Copy link

dd-trace-dotnet-ci-bot bot commented Jan 20, 2026

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8081) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration68.61 ± (68.58 - 68.79) ms68.49 ± (68.53 - 68.74) ms-0.2%
.NET Framework 4.8 - Bailout
duration72.34 ± (72.22 - 72.44) ms72.18 ± (72.13 - 72.34) ms-0.2%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1010.32 ± (1016.91 - 1031.12) ms1005.76 ± (1010.74 - 1020.90) ms-0.5%
.NET Core 3.1 - Baseline
process.internal_duration_ms22.07 ± (22.04 - 22.10) ms21.93 ± (21.90 - 21.96) ms-0.6%
process.time_to_main_ms78.91 ± (78.75 - 79.06) ms78.65 ± (78.52 - 78.78) ms-0.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.89 - 10.90) MB10.89 ± (10.89 - 10.90) MB-0.0%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.03 ± (22.01 - 22.05) ms21.90 ± (21.88 - 21.93) ms-0.6%
process.time_to_main_ms80.01 ± (79.92 - 80.10) ms79.88 ± (79.78 - 79.99) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.93 ± (10.92 - 10.93) MB10.92 ± (10.91 - 10.92) MB-0.1%
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms244.10 ± (240.65 - 247.56) ms246.84 ± (243.42 - 250.26) ms+1.1%✅⬆️
process.time_to_main_ms468.65 ± (468.05 - 469.26) ms470.50 ± (469.97 - 471.04) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.42 ± (48.40 - 48.44) MB48.43 ± (48.41 - 48.45) MB+0.0%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.1%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms20.48 ± (20.46 - 20.51) ms20.61 ± (20.58 - 20.64) ms+0.6%✅⬆️
process.time_to_main_ms68.17 ± (68.05 - 68.30) ms68.26 ± (68.12 - 68.39) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.63 ± (10.63 - 10.63) MB10.62 ± (10.61 - 10.62) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms20.53 ± (20.50 - 20.55) ms20.47 ± (20.45 - 20.48) ms-0.3%
process.time_to_main_ms69.26 ± (69.20 - 69.32) ms69.10 ± (69.04 - 69.17) ms-0.2%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.67 ± (10.66 - 10.67) MB10.72 ± (10.72 - 10.73) MB+0.5%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms241.11 ± (238.36 - 243.87) ms245.90 ± (243.68 - 248.13) ms+2.0%✅⬆️
process.time_to_main_ms446.13 ± (445.61 - 446.65) ms446.63 ± (446.09 - 447.16) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.20 ± (49.17 - 49.23) MB49.18 ± (49.15 - 49.21) MB-0.0%
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)+0.0%✅⬆️
.NET 8 - Baseline
process.internal_duration_ms18.82 ± (18.79 - 18.84) ms18.86 ± (18.83 - 18.90) ms+0.2%✅⬆️
process.time_to_main_ms67.35 ± (67.24 - 67.46) ms67.43 ± (67.31 - 67.56) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.67 ± (7.66 - 7.67) MB7.66 ± (7.65 - 7.67) MB-0.1%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms18.81 ± (18.79 - 18.84) ms18.78 ± (18.75 - 18.80) ms-0.2%
process.time_to_main_ms68.36 ± (68.29 - 68.42) ms68.35 ± (68.28 - 68.43) ms-0.0%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.75 ± (7.74 - 7.76) MB7.72 ± (7.71 - 7.73) MB-0.4%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms177.60 ± (176.72 - 178.47) ms176.51 ± (175.61 - 177.41) ms-0.6%
process.time_to_main_ms430.90 ± (430.02 - 431.78) ms431.73 ± (430.91 - 432.55) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed36.51 ± (36.48 - 36.54) MB36.63 ± (36.60 - 36.67) MB+0.3%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)26 ± (26 - 26)-0.4%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration193.42 ± (193.69 - 194.53) ms194.01 ± (193.95 - 194.72) ms+0.3%✅⬆️
.NET Framework 4.8 - Bailout
duration197.75 ± (197.70 - 198.41) ms197.10 ± (196.78 - 197.31) ms-0.3%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1129.36 ± (1134.81 - 1145.83) ms1125.75 ± (1129.09 - 1139.15) ms-0.3%
.NET Core 3.1 - Baseline
process.internal_duration_ms187.64 ± (187.33 - 187.96) ms188.66 ± (188.26 - 189.07) ms+0.5%✅⬆️
process.time_to_main_ms80.86 ± (80.66 - 81.06) ms81.37 ± (81.17 - 81.57) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.11 ± (16.07 - 16.14) MB16.11 ± (16.07 - 16.14) MB+0.0%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.3%
.NET Core 3.1 - Bailout
process.internal_duration_ms186.77 ± (186.55 - 187.00) ms189.06 ± (188.65 - 189.47) ms+1.2%✅⬆️
process.time_to_main_ms82.14 ± (82.00 - 82.29) ms82.91 ± (82.72 - 83.10) ms+0.9%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.12 - 16.18) MB16.11 ± (16.08 - 16.14) MB-0.3%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.5%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms417.50 ± (414.03 - 420.96) ms430.25 ± (426.91 - 433.59) ms+3.1%✅⬆️
process.time_to_main_ms473.31 ± (472.70 - 473.91) ms475.54 ± (475.01 - 476.07) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed58.83 ± (58.72 - 58.94) MB58.58 ± (58.45 - 58.71) MB-0.4%
runtime.dotnet.threads.count29 ± (29 - 30)29 ± (29 - 29)-0.1%
.NET 6 - Baseline
process.internal_duration_ms192.34 ± (191.96 - 192.71) ms192.84 ± (192.49 - 193.19) ms+0.3%✅⬆️
process.time_to_main_ms70.72 ± (70.47 - 70.97) ms70.48 ± (70.29 - 70.66) ms-0.3%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.05 ± (15.91 - 16.20) MB16.12 ± (16.00 - 16.24) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 19)19 ± (19 - 19)+2.5%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms191.16 ± (190.86 - 191.46) ms192.23 ± (191.83 - 192.63) ms+0.6%✅⬆️
process.time_to_main_ms71.43 ± (71.29 - 71.58) ms71.54 ± (71.36 - 71.71) ms+0.1%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.33 ± (16.22 - 16.43) MB16.28 ± (16.18 - 16.38) MB-0.3%
runtime.dotnet.threads.count19 ± (19 - 20)20 ± (20 - 20)+1.7%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms444.95 ± (441.59 - 448.31) ms446.19 ± (443.46 - 448.92) ms+0.3%✅⬆️
process.time_to_main_ms453.50 ± (452.79 - 454.21) ms453.08 ± (452.52 - 453.63) ms-0.1%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed58.65 ± (58.53 - 58.77) MB58.89 ± (58.77 - 59.02) MB+0.4%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-0.1%
.NET 8 - Baseline
process.internal_duration_ms191.48 ± (191.04 - 191.92) ms191.02 ± (190.63 - 191.40) ms-0.2%
process.time_to_main_ms70.19 ± (69.98 - 70.39) ms70.19 ± (69.92 - 70.46) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.74 ± (11.71 - 11.76) MB11.79 ± (11.76 - 11.82) MB+0.4%✅⬆️
runtime.dotnet.threads.count18 ± (18 - 18)18 ± (18 - 18)-0.6%
.NET 8 - Bailout
process.internal_duration_ms189.13 ± (188.89 - 189.37) ms189.85 ± (189.55 - 190.15) ms+0.4%✅⬆️
process.time_to_main_ms70.86 ± (70.74 - 70.98) ms71.31 ± (71.18 - 71.45) ms+0.6%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.85 ± (11.83 - 11.88) MB11.82 ± (11.79 - 11.85) MB-0.3%
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)-0.1%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms364.68 ± (362.98 - 366.38) ms367.88 ± (366.30 - 369.45) ms+0.9%✅⬆️
process.time_to_main_ms435.53 ± (434.87 - 436.19) ms438.46 ± (437.87 - 439.05) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed48.25 ± (48.21 - 48.28) MB48.29 ± (48.27 - 48.32) MB+0.1%✅⬆️
runtime.dotnet.threads.count29 ± (29 - 29)29 ± (29 - 29)-1.1%
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (69ms)  : 67, 70
    master - mean (69ms)  : 67, 70

    section Bailout
    This PR (8081) - mean (72ms)  : 71, 73
    master - mean (72ms)  : 71, 73

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (1,016ms)  : 942, 1090
    master - mean (1,024ms)  : 938, 1110

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (106ms)  : 103, 109
    master - mean (106ms)  : 104, 109

    section Bailout
    This PR (8081) - mean (107ms)  : 106, 108
    master - mean (107ms)  : 106, 108

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (740ms)  : 690, 790
    master - mean (738ms)  : 685, 792

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (94ms)  : 91, 96
    master - mean (93ms)  : 91, 95

    section Bailout
    This PR (8081) - mean (94ms)  : 93, 95
    master - mean (94ms)  : 94, 95

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (718ms)  : 684, 751
    master - mean (711ms)  : 667, 755

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (92ms)  : 90, 95
    master - mean (92ms)  : 90, 95

    section Bailout
    This PR (8081) - mean (93ms)  : 92, 94
    master - mean (93ms)  : 92, 94

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (637ms)  : 623, 651
    master - mean (636ms)  : 623, 650

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (194ms)  : 190, 199
    master - mean (194ms)  : 188, 200

    section Bailout
    This PR (8081) - mean (197ms)  : 194, 200
    master - mean (198ms)  : 195, 201

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (1,134ms)  : 1061, 1207
    master - mean (1,140ms)  : 1054, 1227

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (278ms)  : 272, 285
    master - mean (277ms)  : 271, 283

    section Bailout
    This PR (8081) - mean (281ms)  : 275, 286
    master - mean (277ms)  : 274, 280

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (935ms)  : 891, 978
    master - mean (924ms)  : 876, 972

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (272ms)  : 267, 277
    master - mean (271ms)  : 265, 277

    section Bailout
    This PR (8081) - mean (272ms)  : 267, 277
    master - mean (271ms)  : 267, 274

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (924ms)  : 871, 977
    master - mean (928ms)  : 877, 979

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8081) - mean (271ms)  : 265, 277
    master - mean (272ms)  : 265, 278

    section Bailout
    This PR (8081) - mean (271ms)  : 267, 275
    master - mean (270ms)  : 267, 273

    section CallTarget+Inlining+NGEN
    This PR (8081) - mean (837ms)  : 808, 866
    master - mean (831ms)  : 811, 850

Loading

@pr-commenter
Copy link

pr-commenter bot commented Jan 20, 2026

Benchmarks

Benchmark execution time: 2026-01-22 16:18:02

Comparing candidate commit cbe9d4d in PR branch nacho/BatchingSinkTestFlakiness with baseline commit 7fcbc9a in branch master.

Some scenarios are present only in baseline or only in candidate runs. If you didn't create or remove some scenarios in your branch, this maybe a sign of crashed benchmarks 💥💥💥
Check Gitlab CI job log to find if any benchmark has crashed.

Scenarios present only in baseline:

  • Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1
  • Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472
  • Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

Found 6 performance improvements and 7 performance regressions! Performance is the same for 157 metrics, 16 unstable metrics.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • 🟥 throughput [-42646.545op/s; -41536.863op/s] or [-49.563%; -48.274%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • 🟥 throughput [-34141.488op/s; -31819.975op/s] or [-27.186%; -25.337%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 throughput [-23254.845op/s; -21127.510op/s] or [-24.345%; -22.118%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟩 execution_time [-109.785ms; -108.678ms] or [-49.733%; -49.232%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 execution_time [+10.168ms; +16.347ms] or [+5.100%; +8.199%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • 🟩 execution_time [-17.203ms; -11.307ms] or [-8.052%; -5.293%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • 🟩 execution_time [-22.121ms; -16.460ms] or [-10.216%; -7.602%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • 🟩 execution_time [-21.994ms; -21.267ms] or [-10.826%; -10.468%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • 🟩 execution_time [-102.626ms; -101.104ms] or [-51.735%; -50.968%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+17.987ms; +22.637ms] or [+11.637%; +14.645%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • 🟩 throughput [+40882.019op/s; +46231.048op/s] or [+10.387%; +11.746%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟥 execution_time [+31.372ms; +33.540ms] or [+18.512%; +19.791%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • 🟥 throughput [-62472.172op/s; -45422.884op/s] or [-7.002%; -5.091%]

@NachoEchevarria NachoEchevarria marked this pull request as ready for review January 21, 2026 14:24
@NachoEchevarria NachoEchevarria requested a review from a team as a code owner January 21, 2026 14:24
@bouwkast
Copy link
Collaborator

@codex review

@chatgpt-codex-connector
Copy link

To use Codex here, create a Codex account and connect to github.

Copy link
Collaborator

@bouwkast bouwkast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably remove one of the tests as they appear to be identical now, but I think we're changing the ordering of what we are testing, but if it simply relies on polling it probably isn't an effective test anymore.

Comment on lines +71 to +72
await sink.FlushAsync();
await sink.DisposeAsync();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Granted I think these tests are old and it was noted that they were loosely defined when they came it, but I think the initial ordering was expected.

As they are written now they appear to be the same and we've lost that initial expectation, but I'm unsure how accurate that expectation is/was looking at the FlushAsync/DisposeAsync flow

Maybe we could just remove this test now ?

@NachoEchevarria
Copy link
Collaborator Author

Note: After a small conversation, @bouwkast and I agreed that marking the tests as flaky would be the best approach here.

@NachoEchevarria NachoEchevarria merged commit 5636843 into master Jan 22, 2026
151 checks passed
@NachoEchevarria NachoEchevarria deleted the nacho/BatchingSinkTestFlakiness branch January 22, 2026 16:30
@github-actions github-actions bot added this to the vNext-v3 milestone Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tests unit tests, integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants