summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-06-10 20:37:33 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-06-10 20:37:33 +0100
commitf6f261e6d7e40eb25fb1bb17807ea59085e20813 (patch)
treee781b01b96fdbb07e6b9920e3ff7fc5c652f3527 /test/scripts/0000-Basic
parentb1cf8494dae6c2a6be188f056565b4ff9893a55e (diff)
Testsuite: Increase test delays and retry rule times
to allow slow hosts more reliable testing
Diffstat (limited to 'test/scripts/0000-Basic')
-rw-r--r--test/scripts/0000-Basic/054815
1 files changed, 11 insertions, 4 deletions
diff --git a/test/scripts/0000-Basic/0548 b/test/scripts/0000-Basic/0548
index 7158ea584..29e4784d0 100644
--- a/test/scripts/0000-Basic/0548
+++ b/test/scripts/0000-Basic/0548
@@ -9,20 +9,27 @@ exim -DSERVER=server -bd -oX PORT_D
exim -odi userx@test.ex
Test message
****
+# defers from both
dump retry
-sleep 2
-# At this point, the secondary host should have timed out
+millisleep 2100
+# At this point, the primary host retry rule ehould have timed out
+# and the secondary is ready for a retry
exim -q
****
dump retry
-sleep 1
+millisleep 2100
+# This should be similar
exim -q
****
dump retry
+# with luck this is tried within a second after the previous
+# so the primary gets tried (it's a new RCPT so the existing retry record is irrelevant)
+# but the secondary is not yet ready for a retry (host record)
exim -odi usery@test.ex
Test message 2.
****
-sleep 1
+dump retry
+millisleep 2000
exim -q
****
killdaemon