From db04ee2e112e8eea6926abedae35801428cbb783 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 17 Feb 2013 22:43:49 +0100 Subject: [PATCH] TODO 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 whe n running under valgrind. --- source4/torture/raw/notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index fdb5771bf3d9..f8d3da808d29 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -1271,7 +1271,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, -- 2.34.1