tests: common: server: Prevent tests deadlocking on DNS requests
All checks were successful
Test / tests (push) Successful in 3m25s
All checks were successful
Test / tests (push) Successful in 3m25s
This commit is contained in:
parent
56e8ce00b9
commit
c25c205499
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,15 @@
|
|||
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)
|
||||
services.dovecot2.extraConfig = lib.mkAfter ''
|
||||
mail_debug = yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue