git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc7142c
)
r4103: lock timeout is in milliseconds (as in reply.c)
author
Herb Lewis
<herb@samba.org>
Wed, 8 Dec 2004 17:30:50 +0000
(17:30 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:53:34 +0000
(10:53 -0500)
(This used to be commit
1feda3649fa5dd7233ea66057fc431948c87825b
)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 6c3860e233e0f15adb826160f94e4e032eec8f63..91732d69735e9e3ab90b5fabd1580cf8d175431b 100644
(file)
--- 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 *
5
00, WRITE_LOCK)) {
+ if (cli_lock(cli2, fnum3, 0, 4, lock_timeout *
10
00, WRITE_LOCK)) {
printf("lock3 succeeded! This is a locking bug\n");
return False;
} else {