diff mail_resolver.t @ 1679:74986ebee2fd

Tests: added proxy_timeout in mail tests. Default proxy_timeout in mail proxy is 24h, so if nginx shutdown after a test waits for the timeout to expire for some reason, this may take a while and hard to diagnose.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 19 May 2021 04:32:59 +0300
parents e1eb3432487b
children 5ac6efbe5552
line wrap: on
line diff
--- a/mail_resolver.t
+++ b/mail_resolver.t
@@ -46,6 +46,8 @@ mail {
     smtp_auth    none;
     server_name  locahost;
 
+    proxy_timeout 15s;
+
     # prevent useless resend
     resolver_timeout 2s;