diff options
author | Herb Lewis <herb@samba.org> | 2004-12-08 17:30:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:34 -0500 |
commit | c7385a29d899a57617305466b43121f6510382bf (patch) | |
tree | b34f01f58d9a08899ebf484d09eaf506a54f342f /source3/torture | |
parent | bc7142ce2373993e87511ff401815efd60b1c1dd (diff) | |
download | samba-c7385a29d899a57617305466b43121f6510382bf.tar.gz samba-c7385a29d899a57617305466b43121f6510382bf.tar.bz2 samba-c7385a29d899a57617305466b43121f6510382bf.zip |
r4103: lock timeout is in milliseconds (as in reply.c)
(This used to be commit 1feda3649fa5dd7233ea66057fc431948c87825b)
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |