tests: common: server: Prevent tests deadlocking on DNS requests
All checks were successful
Test / tests (push) Successful in 3m39s
All checks were successful
Test / tests (push) Successful in 3m39s
This commit is contained in:
parent
f5bf117314
commit
95d920ae67
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,15 @@
|
||||||
certificateScheme = "selfsigned";
|
certificateScheme = "selfsigned";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Prevent tests deadlocking on DNS requests which will never succeed.
|
||||||
|
services.rspamd.locals."options.inc".text = ''
|
||||||
|
dns {
|
||||||
|
nameservers = ["127.0.0.1"];
|
||||||
|
timeout = 0.0s;
|
||||||
|
retransmits = 0;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
# Enable more verbose logging (required for, e.g., sieve testing)
|
# Enable more verbose logging (required for, e.g., sieve testing)
|
||||||
services.dovecot2.extraConfig = lib.mkAfter ''
|
services.dovecot2.extraConfig = lib.mkAfter ''
|
||||||
mail_debug = yes
|
mail_debug = yes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue