TODO 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>
Thu, 17 May 2018 07:52:26 +0000 (09:52 +0200)
This is 1000 times longer than before and is less likely to
change the timing behavior whe n running under valgrind.

source4/torture/smb2/notify.c

index d13f1c0506c76731fd07ac04cebaffd7fedea8cd..ab49920fc9a9f8ff046f087ffac6fcca4c635fed 100644 (file)
@@ -1687,7 +1687,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);