From 7f44db008dcb7dd6b5c257966e0d5c5b79206078 Mon Sep 17 00:00:00 2001 From: Alberto Bertogli Date: Sat, 9 Mar 2024 19:11:38 +0000 Subject: [PATCH] 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. --- test/t-11-dovecot/config/dovecot.conf.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/t-11-dovecot/config/dovecot.conf.in b/test/t-11-dovecot/config/dovecot.conf.in index eb7a9be..dba6a0d 100644 --- a/test/t-11-dovecot/config/dovecot.conf.in +++ b/test/t-11-dovecot/config/dovecot.conf.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