s4:torture/smb2: test_notify_tcp_dis trigger idle event every 0.25s
authorStefan Metzmacher <metze@samba.org>
Sun, 17 Feb 2013 21:45:32 +0000 (22:45 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 27 Jun 2016 19:42:16 +0000 (21:42 +0200)
This is 1000 times longer than before and is less likely to
change the timing behavior whe n running under valgrind.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/torture/smb2/notify.c

index e045f259924a548a868aa04db6a1a591575da78f..0645a539bb1ed176e9bdf0eafb6198e7f305983a 100644 (file)
@@ -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);