diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-11-09 17:12:09 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-11-09 17:12:09 +0000 |
commit | 1c477b37eeb5251be787bd56936ba668e41c8c4a (patch) | |
tree | 6ef347db59483121b5990c87547031781a6ee253 /test/scripts | |
parent | 4a7ad62b15ea97dd2de1c98d0cd0219f99233bce (diff) |
Testsuite: avoid time-quantization issue
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0548 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/scripts/0000-Basic/0548 b/test/scripts/0000-Basic/0548 index 29e4784d0..a0a7fa048 100644 --- a/test/scripts/0000-Basic/0548 +++ b/test/scripts/0000-Basic/0548 @@ -2,6 +2,12 @@ # In this test, the primary host (normal IP address) defers the recipient, and # the secondary host (loopback address) defers the connection. # +#XXX the test is relying on one-second accuracy, which is too tight. +# The measured time is only one-second precision, so certain to sometime +# straddle a boundary, even ignoring scheduling and I/O-wait issues. +# Consider a factor of (?) two, in the retry section of the conf/ file +# and +1 /2 after the diff operation (runtest:463). +# need_ipv4 # exim -DSERVER=server -bd -oX PORT_D @@ -11,13 +17,13 @@ Test message **** # defers from both dump retry -millisleep 2100 +millisleep 4200 # At this point, the primary host retry rule ehould have timed out # and the secondary is ready for a retry exim -q **** dump retry -millisleep 2100 +millisleep 4200 # This should be similar exim -q **** @@ -29,7 +35,7 @@ exim -odi usery@test.ex Test message 2. **** dump retry -millisleep 2000 +millisleep 4000 exim -q **** killdaemon |