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>
C
Copilot committed
d2066041ac199f26c9ee3e12295921388128ac04
Parent: fbb455d
Committed by GitHub <noreply@github.com>
on 4/20/2026, 3:58:45 PM