From: Stefan Metzmacher Date: Sun, 17 Feb 2013 21:43:49 +0000 (+0100) Subject: s4:torture/raw: test_notify_tcp_dis trigger idle event every 0.25s X-Git-Tag: tdb-1.4.1~609 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a091aa982a662f804dc41fccbeda501f370347a;p=thirdparty%2Fsamba.git s4:torture/raw: test_notify_tcp_dis trigger idle event every 0.25s This is 1000 times longer than before and is less likely to change the timing behavior when running under valgrind. Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index 423721aa61b..fa32c6b5e21 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -1348,7 +1348,7 @@ static bool test_notify_tcp_dis(struct torture_context *tctx, req = smb_raw_changenotify_send(cli->tree, ¬ify); - smbcli_transport_idle_handler(cli->transport, tcp_dis_handler, 250, cli); + smbcli_transport_idle_handler(cli->transport, tcp_dis_handler, 250000, cli); status = smb_raw_changenotify_recv(req, tctx, ¬ify); torture_assert_ntstatus_equal_goto(tctx, status,