summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-15 08:01:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:29 -0500
commite1e759585eecdb5e2d1cb0d1eccfb756368fb74c (patch)
treee368c9288aab71034a4a6157f68aa251a8f74a74
parent71cbc569cbfc610e952acf78bd6e5100fc9cc85b (diff)
downloadsamba-e1e759585eecdb5e2d1cb0d1eccfb756368fb74c.tar.gz
samba-e1e759585eecdb5e2d1cb0d1eccfb756368fb74c.tar.xz
samba-e1e759585eecdb5e2d1cb0d1eccfb756368fb74c.zip
r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
might take a bit for events to propagate from one to another connection, in particular with a process per connection. (This used to be commit 0c7a518b2dad83dc78f3e3058fd8e1267d0e928f)
-rw-r--r--source4/torture/raw/notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c
index 74f33f0dbd9..841238ea3da 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/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, &notify);
status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
CHECK_STATUS(status, NT_STATUS_OK);