From ee677d62145d9837e776c86256e620b689c62d46 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Wed, 17 May 2017 21:05:33 +0100 Subject: Testsuite: add delays for predictable log sequencing in 2x36, log-sorting for 2x38 --- test/confs/2135 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'test/confs/2135') diff --git a/test/confs/2135 b/test/confs/2135 index fcb5f00f4..68762146c 100644 --- a/test/confs/2135 +++ b/test/confs/2135 @@ -34,11 +34,16 @@ check_rcpt: accept check_data: - warn logwrite = $message_exim_id received on port $received_port + warn logwrite = received on port $received_port defer condition = ${if eq {SERVER}{server}} condition = ${if eq {data_defer}{${local_part:$recipients}}} accept +delay: + warn condition = ${if = {$received_port}{PORT_D}} + delay = 1s + accept + # ----- Routers ----- begin routers @@ -47,8 +52,9 @@ begin routers target: driver = redirect - condition = ${if = {$received_port}{PORT_D}} - data = :blackhole: + condition = ${if = {$received_port}{PORT_D}} + address_data = ${acl {delay}} + data = :blackhole: dut: driver = manualroute -- cgit v1.2.3