fix: update add_timestamp when the transport is selected as primary

This commit is contained in:
link2xt
2026-03-12 15:04:05 +00:00
committed by l
parent 11b6a108f5
commit 0150d38ddd
2 changed files with 20 additions and 1 deletions

View File

@@ -225,6 +225,9 @@ def test_transport_synchronization(acfactory, log) -> None:
log.section("ac1 changes the primary transport")
ac1.set_config("configured_addr", transport3["addr"])
# One event for updated `add_timestamp` of the new primary transport,
# one event for the `configured_addr` update.
ac1_clone.wait_for_event(EventType.TRANSPORTS_MODIFIED)
ac1_clone.wait_for_event(EventType.TRANSPORTS_MODIFIED)
[transport1, transport3] = ac1_clone.list_transports()
assert ac1_clone.get_config("configured_addr") == addr3