Commit d206604
Fix flaky test_race_concurrent_measurements on Windows CI (#5130)
* Initial plan
* Fix flaky test_race_concurrent_measurements on Windows CI
- Correct mock_view_matching call: pass "view1" as name argument
- Replace brittle constructor-count assertion with state-based check
on _instrument_view_instrument_matches to avoid Windows scheduling flakiness
Assisted-by: Claude Opus 4.6
Agent-Logs-Url: https://github.com/open-telemetry/opentelemetry-python/sessions/1d03eb82-5130-49a5-9c87-051eecc081d2
Co-authored-by: xrmx <12932+xrmx@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: xrmx <12932+xrmx@users.noreply.github.com>1 parent fbb455d commit d206604
1 file changed
Lines changed: 7 additions & 3 deletions
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | | - | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
280 | 284 | | |
281 | 285 | | |
282 | 286 | | |
| |||
0 commit comments