From b04592918dc72e4c4157a88553c908ee22a0b178 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Apr 2006 00:47:15 +0000 Subject: 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) --- source4/torture/raw/notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw') 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, ¬ify); status = smb_raw_changenotify_recv(req, mem_ctx, ¬ify); CHECK_STATUS(status, NT_STATUS_OK); -- cgit