diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-04-06 02:01:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:00:19 -0500 |
commit | 0dce9b003cfe3f51dc8acff75ec575d082456f10 (patch) | |
tree | 774a3d719a3598e0a4a45db65a6f8a4c7f6a672a /source4 | |
parent | 51a5b79ec031f8dbd878301fb93a1e150ab57a19 (diff) | |
download | samba-0dce9b003cfe3f51dc8acff75ec575d082456f10.tar.gz samba-0dce9b003cfe3f51dc8acff75ec575d082456f10.tar.bz2 samba-0dce9b003cfe3f51dc8acff75ec575d082456f10.zip |
r14935: try to avoid a race condition in the recursion test
(This used to be commit 659576806fef066203551281cab4dc5cd3234ff7)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/raw/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index cdca242847..7a69442e66 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -315,6 +315,7 @@ static BOOL test_notify_recursive(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) notify.in.completion_filter = 0; notify.in.recursive = True; + msleep(10); req1 = smb_raw_changenotify_send(cli->tree, ¬ify); smbcli_rmdir(cli->tree, BASEDIR "\\subdir-name\\subname1-r"); @@ -870,7 +871,6 @@ BOOL torture_raw_notify(struct torture_context *torture) return False; } - ret &= test_notify_dir(cli, mem_ctx); ret &= test_notify_mask(cli, mem_ctx); ret &= test_notify_recursive(cli, mem_ctx); |