From c7385a29d899a57617305466b43121f6510382bf Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Wed, 8 Dec 2004 17:30:50 +0000 Subject: r4103: lock timeout is in milliseconds (as in reply.c) (This used to be commit 1feda3649fa5dd7233ea66057fc431948c87825b) --- source3/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 6c3860e233..91732d6973 100644 --- a/source3/torture/torture.c +++ b/source3/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 { -- cgit