]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Extend timeout on SMTP delivery tests to allow for slower exim performance (#3948)
authorNick Porter <nick@portercomputing.co.uk>
Fri, 19 Feb 2021 12:30:28 +0000 (12:30 +0000)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 12:30:28 +0000 (12:30 +0000)
src/tests/modules/smtp/smtp_crln/tls_crln.unlang
src/tests/modules/smtp/smtp_stringparse/tls_stringparse.unlang
src/tests/modules/smtp/tls_delivery.unlang

index d84711e3769e59cfc8b7be7c2955f5d59c8bb58e..2eb5e7c2f6a9e3229f5b0fdbdd9007e115df0da7 100644 (file)
@@ -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") {
index 38387eea68ca32eee1f384b03405726a6d852a9b..eaa2223c4033eb66e24b098644e62e05fe8c17eb 100644 (file)
@@ -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") {
index 4ad0f52ad9e14a3a500bf70975b2b2a14d9d2a3c..660f064a7b9a534d7ae65230b698fdbea39ade2b 100644 (file)
@@ -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") {