summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-11 02:09:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:17 -0500
commit8942893c3994c206f2723347a8f1aaa1fa253b41 (patch)
tree19e4f80e35b33b0ad62208fdb0486d83a475f6ef /source4/torture/raw
parentcbed4ba5afbccfba7473260fe725c34daf3031f0 (diff)
downloadsamba-8942893c3994c206f2723347a8f1aaa1fa253b41.tar.gz
samba-8942893c3994c206f2723347a8f1aaa1fa253b41.tar.bz2
samba-8942893c3994c206f2723347a8f1aaa1fa253b41.zip
r18355: increase the delays waiting for all events to propogate in the
RAW-NOTIFY test. (This used to be commit 81fd19ba3f38ac19d8bcac56210a83fdfc8237de)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/notify.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c
index b7bbb774b6..0036f10f40 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/torture/raw/notify.c
@@ -215,7 +215,7 @@ static BOOL test_notify_dir(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
/* and we now see the rest of the unlink calls on both directory handles */
notify.nttrans.in.file.fnum = fnum;
- sleep(1);
+ sleep(3);
req = smb_raw_changenotify_send(cli->tree, &notify);
status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
CHECK_STATUS(status, NT_STATUS_OK);
@@ -319,7 +319,7 @@ static BOOL test_notify_recursive(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
notify.nttrans.in.completion_filter = 0;
notify.nttrans.in.recursive = True;
- msleep(10);
+ msleep(200);
req1 = smb_raw_changenotify_send(cli->tree, &notify);
smbcli_rmdir(cli->tree, BASEDIR "\\subdir-name\\subname1-r");
@@ -436,7 +436,7 @@ static BOOL test_notify_mask(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
notify.nttrans.in.completion_filter = (1<<i); \
req = smb_raw_changenotify_send(cli->tree, &notify); \
op \
- msleep(10); smb_raw_ntcancel(req); \
+ msleep(200); smb_raw_ntcancel(req); \
status = smb_raw_changenotify_recv(req, mem_ctx, &notify); \
cleanup \
smbcli_close(cli->tree, fnum); \
@@ -1054,7 +1054,7 @@ static BOOL test_notify_tree(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
}
/* give a bit of time for all the events to propogate */
- sleep(2);
+ sleep(4);
/* count events that have happened in each dir */
for (i=0;i<ARRAY_SIZE(dirs);i++) {