From 49a4143027cec663fc84b1c870524d5af9adf3e1 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sat, 6 Jul 2024 16:24:20 +0100 Subject: [PATCH] Testsuite: handle 1s-boundary crossing --- test/confs/0608 | 2 +- test/scripts/0000-Basic/0608 | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/confs/0608 b/test/confs/0608 index a2ec1be27..34638d2e8 100644 --- a/test/confs/0608 +++ b/test/confs/0608 @@ -15,7 +15,7 @@ bounce_message_file = OPT warn_message_file = OPT .endif -delay_warning = 1s +delay_warning = 2s # ----- Routers ----- diff --git a/test/scripts/0000-Basic/0608 b/test/scripts/0000-Basic/0608 index f3016f2cf..a3065d097 100644 --- a/test/scripts/0000-Basic/0608 +++ b/test/scripts/0000-Basic/0608 @@ -34,7 +34,8 @@ Subject: test 2.3 - Specified, missing delay message file exim -odf -DOPT='${if ={0}{0} {DIR/aux-fixed/TESTNUM.bounce.tmpl}{bad}}' delay_s@test.ex Subject: test 2.7 - Specified, expansion good **** -sleep 1 +# Wait past the delay_warning interval +sleep 3 exim -M $msg1 **** exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg2 @@ -43,7 +44,7 @@ exim -DOPT=DIR/aux-fixed/TESTNUM.nonexist.tmpl -M $msg3 **** exim -DOPT=DIR/aux-fixed/TESTNUM.bounce.tmpl -M $msg4 **** -sleep 1 +#sleep 1 # # no_msglog_check -- 2.30.2