mirror of
https://github.com/chatmail/relay.git
synced 2026-05-20 12:58:04 +00:00
try fix some test hangs potentially caused by filtermail's DNS cache
This commit is contained in:
@@ -247,6 +247,13 @@ def lxc_test_cmd(args, out):
|
|||||||
out.print(f"Loading {ct.zone} into PowerDNS ...")
|
out.print(f"Loading {ct.zone} into PowerDNS ...")
|
||||||
dns_ct.set_dns_records(zone_data)
|
dns_ct.set_dns_records(zone_data)
|
||||||
|
|
||||||
|
# Restart filtermail so its in-process DNS cache
|
||||||
|
# does not hold stale negative DKIM responses
|
||||||
|
# from before the zones were loaded.
|
||||||
|
for ct in map(ix.get_container, relay_names):
|
||||||
|
out.print(f"Restarting filtermail-incoming on {ct.name} ...")
|
||||||
|
ct.bash("systemctl restart filtermail-incoming")
|
||||||
|
|
||||||
with out.section("cmdeploy test"):
|
with out.section("cmdeploy test"):
|
||||||
first = ix.get_container(relay_names[0])
|
first = ix.get_container(relay_names[0])
|
||||||
env = None
|
env = None
|
||||||
|
|||||||
Reference in New Issue
Block a user