Skip to content

Commit 5ab917f

Browse files
committed
test: drop quick_timing from test_service_info_async_request
The previous revert kept the production timeouts but left quick_timing in place. CI still failed on 3.14t macOS skip_cython with the same assertion (`addresses == [10.0.1.2]` instead of `[10.0.1.3]`) — so the accelerated probe/announce intervals themselves race with the post-update broadcast on slower / pure- Python runners. With `_REGISTER_TIME=10ms`, the new info's announces can collide with still-in-flight broadcasts of the original (10.0.1.2) record and the listener ends up with the stale address. The test is exercising a TOCTOU race that needs the production timing to behave deterministically. Drop the fixture from this test entirely; it goes back to ~9.82s. The other six tests in the PR still benefit from quick_timing.
1 parent 093ab3c commit 5ab917f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_asyncio.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ async def test_async_wait_unblocks_on_update() -> None:
605605

606606

607607
@pytest.mark.asyncio
608-
async def test_service_info_async_request(quick_timing: None) -> None:
608+
async def test_service_info_async_request() -> None:
609609
"""Test registering services broadcasts and query with AsyncServceInfo.async_request."""
610610
if not has_working_ipv6() or os.environ.get("SKIP_IPV6"):
611611
pytest.skip("Requires IPv6")

0 commit comments

Comments
 (0)