Gitweb:
https://git.exim.org/exim.git/commitdiff/54882a4e1152ec5068099515f22ed01bdd3a117c
Commit: 54882a4e1152ec5068099515f22ed01bdd3a117c
Parent: 1c477b37eeb5251be787bd56936ba668e41c8c4a
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Nov 9 19:56:32 2018 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Fri Nov 9 19:56:32 2018 +0000
Testsuite: avoid time-quantization issue
---
test/confs/0357 | 2 +-
test/confs/0358 | 2 +-
test/confs/0554 | 2 +-
test/scripts/0000-Basic/0357 | 4 ++--
test/scripts/0000-Basic/0358 | 2 +-
test/scripts/0000-Basic/0554 | 2 ++
test/stderr/0357 | 6 +++---
test/stderr/0358 | 8 ++++----
test/stderr/0554 | 2 +-
test/stdout/0357 | 6 +++---
test/stdout/0358 | 8 ++++----
test/stdout/0447 | 2 +-
test/stdout/0554 | 2 +-
13 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/test/confs/0357 b/test/confs/0357
index 07f3fc8..3f11016 100644
--- a/test/confs/0357
+++ b/test/confs/0357
@@ -32,6 +32,6 @@ t1:
begin retry
-* * F,3s,1s; G,1h,2s,2
+* * F,6s,2s; G,1h,4s,2
# End
diff --git a/test/confs/0358 b/test/confs/0358
index 24611d0..3116870 100644
--- a/test/confs/0358
+++ b/test/confs/0358
@@ -32,6 +32,6 @@ t1:
begin retry
-* * F,3s,1s; G,1h,2s,2
+* * F,6s,2s; G,1h,4s,2
# End
diff --git a/test/confs/0554 b/test/confs/0554
index cbcd357..c4f240c 100644
--- a/test/confs/0554
+++ b/test/confs/0554
@@ -30,6 +30,6 @@ smtp:
begin retry
-* * F,10s,1s
+* * F,10s,2s
# End
diff --git a/test/scripts/0000-Basic/0357 b/test/scripts/0000-Basic/0357
index ba1f5fa..33d59bf 100644
--- a/test/scripts/0000-Basic/0357
+++ b/test/scripts/0000-Basic/0357
@@ -16,7 +16,7 @@ exim -odi -d-all+retry userx
Testing 1
****
dump retry
-sleep 1
+sleep 2
server PORT_S
220 ESMTP
EHLO
@@ -31,7 +31,7 @@ QUIT
exim -q -d-all+retry
****
dump retry
-sleep 3
+sleep 6
server PORT_S
220 ESMTP
EHLO
diff --git a/test/scripts/0000-Basic/0358 b/test/scripts/0000-Basic/0358
index 7571c27..032bfc1 100644
--- a/test/scripts/0000-Basic/0358
+++ b/test/scripts/0000-Basic/0358
@@ -18,7 +18,7 @@ exim -odi -d-all+retry userx usery
Testing 1
****
dump retry
-sleep 4
+sleep 6
server PORT_S
220 ESMTP
EHLO
diff --git a/test/scripts/0000-Basic/0554 b/test/scripts/0000-Basic/0554
index 0cf76b9..da0d2ef 100644
--- a/test/scripts/0000-Basic/0554
+++ b/test/scripts/0000-Basic/0554
@@ -37,5 +37,7 @@ QUIT
****
exim -odi -d-all+retry -M $msg1
****
+#
dump retry
no_msglog_check
+#
diff --git a/test/stderr/0357 b/test/stderr/0357
index 522cf03..9ed549a 100644
--- a/test/stderr/0357
+++ b/test/stderr/0357
@@ -38,7 +38,7 @@ locking TESTSUITE/spool/db/retry.lockfile
retry for R:userx@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:userx@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+1 expired=0
+ first failed=dddd last try=dddd next try=+2 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -91,7 +91,7 @@ deleted retry information for R:test.ex
retry for R:userx@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:userx@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+1 expired=0
+ first failed=dddd last try=dddd next try=+2 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
end of retry processing
LOG: queue_run MAIN
@@ -145,7 +145,7 @@ deleted retry information for R:test.ex
retry for R:userx@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:userx@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+2 expired=0
+ first failed=dddd last try=dddd next try=+4 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
end of retry processing
LOG: queue_run MAIN
diff --git a/test/stderr/0358 b/test/stderr/0358
index f4c629b..9506b15 100644
--- a/test/stderr/0358
+++ b/test/stderr/0358
@@ -48,13 +48,13 @@ locking TESTSUITE/spool/db/retry.lockfile
retry for R:usery@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:usery@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+1 expired=0
+ first failed=dddd last try=dddd next try=+2 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@???>: 451 Temporary error
userx@???
retry for R:userx@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:userx@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+1 expired=0
+ first failed=dddd last try=dddd next try=+2 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
@@ -128,7 +128,7 @@ deleted retry information for R:test.ex
retry for R:usery@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:usery@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+2 expired=0
+ first failed=dddd last try=dddd next try=+4 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@???>: 451 Temporary error
userx@???
deleted retry information for R:userx@???
@@ -136,7 +136,7 @@ deleted retry information for R:test.ex
retry for R:userx@???:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:userx@???:<CALLER@???>
- first failed=dddd last try=dddd next try=+2 expired=0
+ first failed=dddd last try=dddd next try=+4 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
end of retry processing
LOG: queue_run MAIN
diff --git a/test/stderr/0554 b/test/stderr/0554
index bbb76db..af486a0 100644
--- a/test/stderr/0554
+++ b/test/stderr/0554
@@ -31,7 +31,7 @@ locking TESTSUITE/spool/db/retry.lockfile
retry for R:x@y:<CALLER@???> = * 0 0
failing_interval=ttt message_age=ttt
Writing retry data for R:x@y:<CALLER@???>
- first failed=dddd last try=dddd next try=+1 expired=0
+ first failed=dddd last try=dddd next try=+2 expired=0
errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=pppp (main) terminating with rc=0 >>>>>>>>>>>>>>>>
diff --git a/test/stdout/0357 b/test/stdout/0357
index 648513e..8c39856 100644
--- a/test/stdout/0357
+++ b/test/stdout/0357
@@ -1,12 +1,12 @@
+++++++++++++++++++++++++++
R:userx@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 1
+first failed = time last try = time2 next try = time2 + 2
+++++++++++++++++++++++++++
R:userx@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 1
+first failed = time last try = time2 next try = time2 + 2
+++++++++++++++++++++++++++
R:userx@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 2
+first failed = time last try = time2 next try = time2 + 4
******** SERVER ********
Listening on port 1224 ...
diff --git a/test/stdout/0358 b/test/stdout/0358
index 80553ee..e8641ea 100644
--- a/test/stdout/0358
+++ b/test/stdout/0358
@@ -1,13 +1,13 @@
+++++++++++++++++++++++++++
R:userx@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 1
+first failed = time last try = time2 next try = time2 + 2
R:usery@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 1
+first failed = time last try = time2 next try = time2 + 2
+++++++++++++++++++++++++++
R:userx@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 2
+first failed = time last try = time2 next try = time2 + 4
R:usery@???:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@???>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 2
+first failed = time last try = time2 next try = time2 + 4
******** SERVER ********
Listening on port 1224 ...
diff --git a/test/stdout/0447 b/test/stdout/0447
index a3faf35..caecaea 100644
--- a/test/stdout/0447
+++ b/test/stdout/0447
@@ -11,7 +11,7 @@ first failed = time last try = time2 next try = time2 + 60
first failed = time last try = time2 next try = time2 + 30
+++++++++++++++++++++++++++
T:127.0.0.1:127.0.0.1:1224 dd 321 Connection timed out
-first failed = time last try = time2 next try = time2 + 29
+first failed = time last try = time2 next try = time2 + 30
+++++++++++++++++++++++++++
R:xx.test.again.dns -1 0 host lookup did not complete
first failed = time last try = time2 next try = time2 + 180
diff --git a/test/stdout/0554 b/test/stdout/0554
index 2f38af2..cb37171 100644
--- a/test/stdout/0554
+++ b/test/stdout/0554
@@ -1,6 +1,6 @@
+++++++++++++++++++++++++++
R:x@y:<CALLER@???> -44 13121 H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
-first failed = time last try = time2 next try = time2 + 1
+first failed = time last try = time2 next try = time2 + 2
+++++++++++++++++++++++++++
******** SERVER ********