fix: synchronize primary transport immediately after changing it

This commit is contained in:
link2xt
2025-12-09 17:06:28 +00:00
committed by l
parent 3d234e7fc7
commit 58cd133b5c
2 changed files with 37 additions and 31 deletions

View File

@@ -188,6 +188,10 @@ def test_transport_synchronization(acfactory, log) -> None:
log.section("ac1 changes the primary transport")
ac1.set_config("configured_addr", transport3["addr"])
ac1_clone.wait_for_event(EventType.TRANSPORTS_MODIFIED)
[transport1, transport3] = ac1_clone.list_transports()
assert ac1_clone.get_config("configured_addr") == addr3
log.section("ac1 removes the first transport")
ac1.delete_transport(transport1["addr"])