svn commit: samba r18355 - in
branches/SAMBA_4_0/source/torture/raw: .
tridge at samba.org
tridge at samba.org
Mon Sep 11 02:09:03 GMT 2006
Author: tridge
Date: 2006-09-11 02:09:03 +0000 (Mon, 11 Sep 2006)
New Revision: 18355
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18355
Log:
increase the delays waiting for all events to propogate in the
RAW-NOTIFY test.
Modified:
branches/SAMBA_4_0/source/torture/raw/notify.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/notify.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/notify.c 2006-09-11 01:42:13 UTC (rev 18354)
+++ branches/SAMBA_4_0/source/torture/raw/notify.c 2006-09-11 02:09:03 UTC (rev 18355)
@@ -215,7 +215,7 @@
/* 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, ¬ify);
status = smb_raw_changenotify_recv(req, mem_ctx, ¬ify);
CHECK_STATUS(status, NT_STATUS_OK);
@@ -319,7 +319,7 @@
notify.nttrans.in.completion_filter = 0;
notify.nttrans.in.recursive = True;
- msleep(10);
+ msleep(200);
req1 = smb_raw_changenotify_send(cli->tree, ¬ify);
smbcli_rmdir(cli->tree, BASEDIR "\\subdir-name\\subname1-r");
@@ -436,7 +436,7 @@
notify.nttrans.in.completion_filter = (1<<i); \
req = smb_raw_changenotify_send(cli->tree, ¬ify); \
op \
- msleep(10); smb_raw_ntcancel(req); \
+ msleep(200); smb_raw_ntcancel(req); \
status = smb_raw_changenotify_recv(req, mem_ctx, ¬ify); \
cleanup \
smbcli_close(cli->tree, fnum); \
@@ -1054,7 +1054,7 @@
}
/* 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++) {
More information about the samba-cvs
mailing list