Skip to content

Commit 540c652

Browse files
authored
Wait for startup in test_integration (#834)
1 parent 0bf4f75 commit 540c652

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_aio.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,8 @@ def send(out, addr=const._MDNS_ADDR, port=const._MDNS_PORT, v6_flow_scope=()):
723723
browser = AsyncServiceBrowser(zeroconf_browser, type_, [on_service_state_change])
724724

725725
aio_zeroconf_registrar = AsyncZeroconf(interfaces=['127.0.0.1'])
726+
await aio_zeroconf_registrar.zeroconf.async_wait_for_start()
727+
726728
desc = {'path': '/~paulsm/'}
727729
info = ServiceInfo(
728730
type_, registration_name, 80, 0, 0, desc, "ash-2.local.", addresses=[socket.inet_aton("10.0.1.2")]

0 commit comments

Comments
 (0)