Testsuite: rework timing of time-dependent testcase
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0206
index 6f9968f9686a8075acb7c3858cdf05d81fbf9169..64afd80144bdaa982afda7b95cb508b0427b7f56 100644 (file)
@@ -1,12 +1,16 @@
 # timeout_frozen_after with ignore_bounce_errors_after
 sudo exim -odi -f unknown@test.ex nonexist@test.ex freeze@test.ex
 ****
-sleep 1
+# that gave us a frozen bounce, and a deferred message (with one undelivered addr)
 sudo exim -Mf $msg1
 ****
+# now 2 frozen, one of which is a bounce
+# check that ignore_bounce_errors_after finishes off the frozen bounce (only)
+millisleep 2500
 exim -qf
 ****
 sleep 3
+# check that timeout_frozen_after finishes off the (remaining) frozen
 exim -q
 ****
 no_msglog_check