svn commit: samba r4104 - in trunk/source/torture: .

herb at samba.org herb at samba.org
Wed Dec 8 17:43:04 GMT 2004


Author: herb
Date: 2004-12-08 17:43:04 +0000 (Wed, 08 Dec 2004)
New Revision: 4104

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

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

Modified:
   trunk/source/torture/torture.c


Changeset:
Modified: trunk/source/torture/torture.c
===================================================================
--- trunk/source/torture/torture.c	2004-12-08 17:30:50 UTC (rev 4103)
+++ trunk/source/torture/torture.c	2004-12-08 17:43:04 UTC (rev 4104)
@@ -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