Update OtlpSubmissionLogSink tests to be less flaky#8718
Conversation
eeed2f9 to
a0efedc
Compare
OtlpSubmissionLogSink tests to be less flaky
Execution-Time Benchmarks Report ⏱️Execution-time results for samples comparing This PR (8718) and master. ✅ No regressions detected - check the details below Full Metrics ComparisonFakeDbCommand
HttpMessageHandler
Comparison explanationExecution-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:
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 chartsFakeDbCommand (.NET Framework 4.8)gantt
title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8718) - mean (73ms) : 70, 77
master - mean (74ms) : 70, 77
section Bailout
This PR (8718) - mean (77ms) : 75, 78
master - mean (77ms) : 75, 79
section CallTarget+Inlining+NGEN
This PR (8718) - mean (1,106ms) : 1055, 1157
master - mean (1,104ms) : 1052, 1156
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 (8718) - mean (114ms) : 110, 118
master - mean (114ms) : 111, 117
section Bailout
This PR (8718) - mean (117ms) : 111, 124
master - mean (116ms) : 110, 122
section CallTarget+Inlining+NGEN
This PR (8718) - mean (791ms) : 769, 813
master - mean (792ms) : 766, 817
FakeDbCommand (.NET 6)gantt
title Execution time (ms) FakeDbCommand (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8718) - mean (104ms) : 99, 109
master - mean (102ms) : 98, 106
section Bailout
This PR (8718) - mean (103ms) : 100, 107
master - mean (105ms) : 101, 109
section CallTarget+Inlining+NGEN
This PR (8718) - mean (951ms) : 909, 992
master - mean (953ms) : 912, 994
FakeDbCommand (.NET 8)gantt
title Execution time (ms) FakeDbCommand (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8718) - mean (100ms) : 96, 105
master - mean (100ms) : 96, 103
section Bailout
This PR (8718) - mean (103ms) : 99, 107
master - mean (103ms) : 97, 109
section CallTarget+Inlining+NGEN
This PR (8718) - mean (821ms) : 787, 856
master - mean (825ms) : 783, 868
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 (8718) - mean (198ms) : 193, 203
master - mean (197ms) : 192, 202
section Bailout
This PR (8718) - mean (202ms) : 198, 206
master - mean (201ms) : 197, 206
section CallTarget+Inlining+NGEN
This PR (8718) - mean (1,204ms) : 1153, 1254
master - mean (1,195ms) : 1153, 1237
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 (8718) - mean (284ms) : 274, 294
master - mean (286ms) : 280, 291
section Bailout
This PR (8718) - mean (287ms) : 281, 293
master - mean (286ms) : 280, 292
section CallTarget+Inlining+NGEN
This PR (8718) - mean (960ms) : 939, 981
master - mean (970ms) : 952, 988
HttpMessageHandler (.NET 6)gantt
title Execution time (ms) HttpMessageHandler (.NET 6)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8718) - mean (276ms) : 268, 284
master - mean (277ms) : 272, 283
section Bailout
This PR (8718) - mean (277ms) : 270, 284
master - mean (277ms) : 273, 281
section CallTarget+Inlining+NGEN
This PR (8718) - mean (1,155ms) : 1115, 1195
master - mean (1,158ms) : 1123, 1193
HttpMessageHandler (.NET 8)gantt
title Execution time (ms) HttpMessageHandler (.NET 8)
dateFormat x
axisFormat %Q
todayMarker off
section Baseline
This PR (8718) - mean (275ms) : 269, 282
master - mean (274ms) : 269, 279
section Bailout
This PR (8718) - mean (277ms) : 270, 284
master - mean (275ms) : 269, 281
section CallTarget+Inlining+NGEN
This PR (8718) - mean (1,034ms) : 995, 1074
master - mean (1,033ms) : 991, 1076
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
BenchmarksBenchmark execution time: 2026-06-01 10:58:35 Comparing candidate commit a0efedc in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 72 metrics, 0 unstable metrics, 61 known flaky benchmarks, 65 flaky benchmarks without significant changes.
|
Summary of changes
Refactor the
OtlpSubmissionLogSinkandOtlpSinkTeststo remove flakeReason for change
The tests are currently flaky, and there was some recent changes to work on this in #8696
Implementation details
Basically the same as #8696 and #8714 - don't start the background job, and just call the methods directly
Test coverage
Same coverage, now with less flake 🤞