summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-08 00:47:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:48 -0500
commitb04592918dc72e4c4157a88553c908ee22a0b178 (patch)
treec31b8ad0ef41aca5f51bb9d48bc8440a76b723dd /source4
parent8c23f133c4a1cd58a83c837bcd8f77b739e87ff2 (diff)
downloadsamba-b04592918dc72e4c4157a88553c908ee22a0b178.tar.gz
samba-b04592918dc72e4c4157a88553c908ee22a0b178.tar.bz2
samba-b04592918dc72e4c4157a88553c908ee22a0b178.zip
r14969: ensure that even on slow machines we leave plenty of time for a series
of events to propogate internally in smbd before asking for them (the test was failing on slow machines) (This used to be commit a493539458ff092262667d07b0dab2f2ee1ba7bf)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c
index 8d024f983c..486869598e 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/torture/raw/notify.c
@@ -214,7 +214,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.in.file.fnum = fnum;
- msleep(10);
+ sleep(1);
req = smb_raw_changenotify_send(cli->tree, &notify);
status = smb_raw_changenotify_recv(req, mem_ctx, &notify);
CHECK_STATUS(status, NT_STATUS_OK);