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)
committerJeremy Allison <jra@samba.org>
Thu, 28 Mar 2019 23:09:33 +0000 (23:09 +0000)
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 <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/raw/notify.c

index 423721aa61b1c75e5691cbfa46a14358bac17d94..fa32c6b5e21886c0c062a0ca7db4701affc06d67 100644 (file)
@@ -1348,7 +1348,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,