svn commit: samba r14969 - in branches/SAMBA_4_0/source/torture/raw: .

tridge at samba.org tridge at samba.org
Sat Apr 8 00:47:15 GMT 2006


Author: tridge
Date: 2006-04-08 00:47:15 +0000 (Sat, 08 Apr 2006)
New Revision: 14969

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14969

Log:

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)

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-04-08 00:40:52 UTC (rev 14968)
+++ branches/SAMBA_4_0/source/torture/raw/notify.c	2006-04-08 00:47:15 UTC (rev 14969)
@@ -214,7 +214,7 @@
 
 	/* 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);



More information about the samba-cvs mailing list