mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
test: use smtplib.SMTP[_SSL] timeout = notifications.smtp-timeout
A new option has been added for configuration of SMTP timeout: - notifications.smtp-timeout During tests, we can change this timeout to be small, so we aren't depending on hardware-based RNG to pass the timeout. Without a timeout, users can run into a long-running test for no particular reason. Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
13217be939
commit
e00cf5f124
4 changed files with 37 additions and 21 deletions
|
@ -65,6 +65,7 @@ smtp-use-ssl = 0
|
|||
smtp-use-starttls = 0
|
||||
smtp-user =
|
||||
smtp-password =
|
||||
smtp-timeout = 60
|
||||
sender = notify@aur.archlinux.org
|
||||
reply-to = noreply@aur.archlinux.org
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue