From: Stefan Metzmacher Date: Sun, 17 Feb 2013 21:45:32 +0000 (+0100) Subject: TODO s4:torture/smb2: test_notify_tcp_dis trigger idle event every 0.25s X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=e411720690b93e5947066a963a6ad10e19eccbcd TODO s4:torture/smb2: 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 whe n running under valgrind. --- diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c index d9b0f593e32b..c718c2a56093 100644 --- a/source4/torture/smb2/notify.c +++ b/source4/torture/smb2/notify.c @@ -1686,7 +1686,7 @@ static bool torture_smb2_notify_tcp_disconnect( notify.smb2.in.recursive = true; req = smb2_notify_send(tree, &(notify.smb2)); smb2_transport_idle_handler(tree->session->transport, - tcp_dis_handler, 250, tree); + tcp_dis_handler, 250000, tree); tree = NULL; status = smb2_notify_recv(req, torture, &(notify.smb2)); CHECK_STATUS(status, NT_STATUS_LOCAL_DISCONNECT);