1# test that 3 seconds timeout does not occur within 2 seconds idle
2
3use strict;
4use warnings;
5
6our %args = (
7    client => {
8	func => sub {
9	    errignore();
10	    write_char(@_, 5);
11	    sleep 2;
12	    write_char(@_, 4);
13	},
14	sleep => 1,
15	timefile => "",
16	nocheck => 1,
17    },
18    relayd => {
19	relay => [ "session timeout 3" ],
20	loggrep => { qr/(buffer event|splice) timeout/ => 0 },
21    },
22    len => 9,
23);
24
251;
26