TODO s4:torture/raw: test_notify_tcp_dis trigger idle event every 0.25s
authorStefan Metzmacher <metze@samba.org>
Sun, 17 Feb 2013 21:43:49 +0000 (22:43 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Oct 2016 12:51:56 +0000 (14:51 +0200)
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

index fdb5771bf3d9f97af78142ec9941da30f7969b06..f8d3da808d29468018aedac5195319c6af866533 100644 (file)
@@ -1271,7 +1271,7 @@ static bool test_notify_tcp_dis(struct torture_context *tctx,
 
        req = smb_raw_changenotify_send(cli->tree, &notify);
 
-       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, &notify);
        torture_assert_ntstatus_equal_goto(tctx, status,