Commit 008ee01
fix(test): replace Progress\<T\> with SyncProgress\<T\> in OssDownloadExecutorTests to avoid Linux CI flaky failure
System.Progress<T> posts to SynchronizationContext, which may defer/defer
callbacks on headless Ubuntu CI runners with .NET 10, causing progressValues
to be empty at assertion time. SyncProgress<T> invokes the handler synchronously,
eliminating the race.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent f642b0f commit 008ee01
1 file changed
Lines changed: 16 additions & 1 deletion
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
150 | 152 | | |
151 | | - | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
289 | 291 | | |
290 | 292 | | |
291 | 293 | | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
0 commit comments