mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
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
This commit is contained in:
parent
4205463ef1
commit
0c97b7eb53
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user