test: firewall: ipv6-zone-migration: Adapt to yanger behaviour changes

This commit is contained in:
Mattias Walström
2026-06-27 08:41:22 +02:00
parent 7dc1811389
commit beb2439922
@@ -203,9 +203,17 @@ with infamy.Test() as test:
}
})
# Wait for the migration to actually land in operational.
# Both zones were already action 'accept' before the move,
# so waiting on action alone returns immediately; wait on
# the interface reassignment (and service) that changed.
infamy.Firewall.wait_for_operational(target, {
"untrusted": {"action": "accept"},
"trusted": {"action": "accept"}
"trusted": {
"action": "accept",
"interface": [data1_if, data2_if],
"service": ["myapp"],
},
})
with test.step("Verify connectivity after zone migration"):