summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-03 10:05:55 +0000
committerJeremy Allison <jra@samba.org>2014-07-04 00:04:10 +0200
commit0c97b7eb5359b95c0d51a3b5524e82e34243d2d1 (patch)
treed72f2b2ac008d6024f0dab56c1510dbcddfa2300
parent4205463ef1815d6e86e1d1f1f57651ca30407469 (diff)
downloadsamba-0c97b7eb5359b95c0d51a3b5524e82e34243d2d1.tar.gz
samba-0c97b7eb5359b95c0d51a3b5524e82e34243d2d1.tar.xz
samba-0c97b7eb5359b95c0d51a3b5524e82e34243d2d1.zip
torture4: Make raw.lock.multilock fail after 20 seconds
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
-rw-r--r--source4/torture/raw/lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c
index 2d5616f3d5..e131e27acc 100644
--- 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);