From: Nick Porter Date: Fri, 19 Feb 2021 12:30:28 +0000 (+0000) Subject: Extend timeout on SMTP delivery tests to allow for slower exim performance (#3948) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4c3eed9924330345967b1ae74a73bbc49535eb4;p=thirdparty%2Ffreeradius-server.git Extend timeout on SMTP delivery tests to allow for slower exim performance (#3948) --- diff --git a/src/tests/modules/smtp/smtp_crln/tls_crln.unlang b/src/tests/modules/smtp/smtp_crln/tls_crln.unlang index d84711e3769..2eb5e7c2f6a 100644 --- a/src/tests/modules/smtp/smtp_crln/tls_crln.unlang +++ b/src/tests/modules/smtp/smtp_crln/tls_crln.unlang @@ -13,13 +13,13 @@ update request { smtp.authorize # -# Wait up to a tenth second for exim to deliver the email +# Wait up to half a second for exim to deliver the email # Then confirm it was delivered # if (`/bin/sh -c "for i in 1 2 3 4 5 ; \ do if [ -e build/ci/exim4/mail/crln_test_receiver ] ;\ then break; \ -fi; sleep .02;\ +fi; sleep .1;\ done ; \ test -f build/ci/exim4/mail/crln_test_receiver ;\ echo $?"` == "1") { diff --git a/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.unlang b/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.unlang index 38387eea68c..eaa2223c403 100644 --- a/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.unlang +++ b/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.unlang @@ -10,13 +10,13 @@ update request { smtp.authorize # -# Wait up to a tenth second for exim to deliver the email +# Wait up to half a second for exim to deliver the email # Then confirm it was delivered # if (`/bin/sh -c "for i in 1 2 3 4 5 ; \ do if [ -e build/ci/exim4/mail/stringparse_test_receiver ] ;\ then break; \ -fi; sleep .02;\ +fi; sleep .1;\ done ; \ test -f build/ci/exim4/mail/stringparse_test_receiver ;\ echo $?"` == "1") { diff --git a/src/tests/modules/smtp/tls_delivery.unlang b/src/tests/modules/smtp/tls_delivery.unlang index 4ad0f52ad9e..660f064a7b9 100644 --- a/src/tests/modules/smtp/tls_delivery.unlang +++ b/src/tests/modules/smtp/tls_delivery.unlang @@ -16,13 +16,13 @@ update request { smtp.authorize # -# Wait up to a tenth second for exim to deliver the email +# Wait up to half a second for exim to deliver the email # Then confirm it was delivered # if (`/bin/sh -c "for i in 1 2 3 4 5 ; \ do if [ -e build/ci/exim4/mail/smtp_delivery_receiver ] ;\ then break; \ -fi; sleep .02;\ +fi; sleep .1;\ done ; \ test -f build/ci/exim4/mail/smtp_delivery_receiver ;\ echo $?"` == "1") {