mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
test/t-11-dovecot: Disable authentication penalty
Dovecot applies an authentication penalty, where it delays failed attempts. Because we intentionally do bad authentications for testing, this slows downs the tests significantly. So this patch disables it.
This commit is contained in:
@@ -13,6 +13,10 @@ default_login_user = $USER
|
||||
# We drop the domain, to exercise "naked" auth handling.
|
||||
auth_username_format = "%n-x"
|
||||
|
||||
# Disable authentication penalty, since we intentionally make failed requests
|
||||
# and it just slows down tests.
|
||||
auth_failure_delay = 0
|
||||
|
||||
passdb {
|
||||
driver = passwd-file
|
||||
args = $ROOT/passwd
|
||||
|
||||
Reference in New Issue
Block a user