summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);