git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4205463
)
torture4: Make raw.lock.multilock fail after 20 seconds
author
Volker Lendecke
<vl@samba.org>
Thu, 3 Jul 2014 10:05:55 +0000
(10:05 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 3 Jul 2014 22:04:10 +0000
(
00:04
+0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 4 00:04:10 CEST 2014 on sn-devel-104
source4/torture/raw/lock.c
patch
|
blob
|
history
diff --git
a/source4/torture/raw/lock.c
b/source4/torture/raw/lock.c
index 2d5616f3d51b2b7ab6d539bb8166c47cbd0ae729..e131e27acc18567f070644a62b68458457f0dda8 100644
(file)
--- a/
source4/torture/raw/lock.c
+++ b/
source4/torture/raw/lock.c
@@
-2317,7
+2317,7
@@
static bool test_multilock(struct torture_context *tctx,
* context as blocking locks with infinite timeout.
*/
- io.lockx.in.timeout =
-1
;
+ io.lockx.in.timeout =
20000
;
lock[0].pid = cli->session->pid+1;
lock[1].pid = cli->session->pid+1;
req = smb_raw_lock_send(cli->tree, &io);