egress anti-spoof: the vm test names drop as explicit, and the log default waits for the stale-delete lines
This commit is contained in:
parent
bbe6f11cb9
commit
a812e4dd21
1 changed files with 7 additions and 5 deletions
|
|
@ -221,9 +221,9 @@ pkgs.testers.runNixOSTest {
|
|||
host.wait_for_unit("multi-user.target")
|
||||
host.wait_for_unit("dnsmasq.service")
|
||||
host.wait_for_unit("hive-egress.service")
|
||||
# The default verdict, loaded before either container exists: the first
|
||||
# lease of each container below is taken with the drop rule in place.
|
||||
assert "counter drop" in host.succeed(f"nft list chain {TABLE} spoof"), "the default is drop"
|
||||
# `drop` is set explicitly on the host above, loaded before either container
|
||||
# exists: the first lease of each container below is taken with it in place.
|
||||
assert "counter drop" in host.succeed(f"nft list chain {TABLE} spoof"), "antiSpoof = drop is loaded"
|
||||
for name in ("a", "b"):
|
||||
host.wait_for_unit(f"container@{name}.service")
|
||||
host.wait_until_succeeds(
|
||||
|
|
|
|||
Loading…
Reference in a new issue