git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db04ee2
)
TODO s4:torture/smb2: test_notify_tcp_dis trigger idle event every 0.25s
author
Stefan Metzmacher
<metze@samba.org>
Sun, 17 Feb 2013 21:45:32 +0000
(22:45 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 4 Oct 2016 12:51:57 +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/smb2/notify.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/notify.c
b/source4/torture/smb2/notify.c
index d9b0f593e32b2e815a22a53a331af76f4b7b3a51..c718c2a56093fc68cfe3ba5fd43e33d54ec74886 100644
(file)
--- a/
source4/torture/smb2/notify.c
+++ b/
source4/torture/smb2/notify.c
@@
-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, 250
000
, tree);
tree = NULL;
status = smb2_notify_recv(req, torture, &(notify.smb2));
CHECK_STATUS(status, NT_STATUS_LOCAL_DISCONNECT);