From 1feda3649fa5dd7233ea66057fc431948c87825b Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 8 Dec 2004 17:30:50 +0000 Subject: [PATCH] r4103: lock timeout is in milliseconds (as in reply.c) --- source/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/torture/torture.c b/source/torture/torture.c index 6c3860e233e..91732d69735 100644 --- a/source/torture/torture.c +++ b/source/torture/torture.c @@ -870,7 +870,7 @@ static BOOL run_locktest1(int dummy) 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 {