svn commit: samba r4103 - in branches/SAMBA_3_0/source/torture: .

herb at samba.org herb at samba.org
Wed Dec 8 17:30:52 GMT 2004


Author: herb
Date: 2004-12-08 17:30:50 +0000 (Wed, 08 Dec 2004)
New Revision: 4103

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

Log:
lock timeout is in milliseconds (as in reply.c)

Modified:
   branches/SAMBA_3_0/source/torture/torture.c


Changeset:
Modified: branches/SAMBA_3_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_3_0/source/torture/torture.c	2004-12-08 11:30:26 UTC (rev 4102)
+++ branches/SAMBA_3_0/source/torture/torture.c	2004-12-08 17:30:50 UTC (rev 4103)
@@ -870,7 +870,7 @@
 	lock_timeout = (1 + (random() % 20));
 	printf("Testing lock timeout with timeout=%u\n", lock_timeout);
 	t1 = time(NULL);
-	if (cli_lock(cli2, fnum3, 0, 4, lock_timeout * 500, WRITE_LOCK)) {
+	if (cli_lock(cli2, fnum3, 0, 4, lock_timeout * 1000, WRITE_LOCK)) {
 		printf("lock3 succeeded! This is a locking bug\n");
 		return False;
 	} else {



More information about the samba-cvs mailing list