1
0
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:
Alberto Bertogli
2024-03-09 19:11:38 +00:00
parent 3c3c32e2fb
commit 7f44db008d

View File

@@ -13,6 +13,10 @@ default_login_user = $USER
# We drop the domain, to exercise "naked" auth handling. # We drop the domain, to exercise "naked" auth handling.
auth_username_format = "%n-x" 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 { passdb {
driver = passwd-file driver = passwd-file
args = $ROOT/passwd args = $ROOT/passwd