mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
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 commit is contained in:
parent
600d39e0ba
commit
0c7a518b2d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user