From 0c97b7eb5359b95c0d51a3b5524e82e34243d2d1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 3 Jul 2014 10:05:55 +0000 Subject: [PATCH] torture4: Make raw.lock.multilock fail after 20 seconds Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Jul 4 00:04:10 CEST 2014 on sn-devel-104 --- source4/torture/raw/lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index 2d5616f3d51..e131e27acc1 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); -- 2.11.4.GIT