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:
600d39e
)
r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
author
Volker Lendecke
<vlendec@samba.org>
Tue, 15 May 2007 08:01:30 +0000
(08:01 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:52:29 +0000
(14:52 -0500)
might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
source/torture/raw/notify.c
patch
|
blob
|
history
diff --git
a/source/torture/raw/notify.c
b/source/torture/raw/notify.c
index 74f33f0dbd9b485c9ca2b2bd5c4afde05f12905c..841238ea3da56ee021b2bf2374e0daf400198bd9 100644
(file)
--- a/
source/torture/raw/notify.c
+++ b/
source/torture/raw/notify.c
@@
-137,6
+137,7
@@
static BOOL test_notify_dir(struct smbcli_state *cli, struct smbcli_state *cli2,
smbcli_rmdir(cli2->tree, BASEDIR "\\subdir-name");
smbcli_mkdir(cli2->tree, BASEDIR "\\subdir-name");
smbcli_rmdir(cli2->tree, BASEDIR "\\subdir-name");
+ msleep(200);
req = smb_raw_changenotify_send(cli->tree, ¬ify);
status = smb_raw_changenotify_recv(req, mem_ctx, ¬ify);
CHECK_STATUS(status, NT_STATUS_OK);