From 41f5ddf15a2a25088a5345bcdfe4bcca1f84e0ef Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 13 Sep 2011 10:53:57 -0700 Subject: [PATCH] locking test: add a maxwait to each lock attempt It looks like one of these was hanging, but never timed out. Signed-off-by: Greg Farnum --- collections/multiclient/tasks/locking.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collections/multiclient/tasks/locking.yaml b/collections/multiclient/tasks/locking.yaml index a54ea0d34918a..865b3b6b7be38 100644 --- a/collections/multiclient/tasks/locking.yaml +++ b/collections/multiclient/tasks/locking.yaml @@ -1,10 +1,10 @@ tasks: - ceph: - kclient: -- lockfile: [{client: client.0, lockfile: testfile, holdtime: 5}, +- lockfile: [{client: client.0, lockfile: testfile, holdtime: 5, maxwait: 1}, {client: client.1, lockfile: testfile, holdtime: 5, maxwait: 11}, {client: client.1, lockfile: testfile, holdtime: 0, maxwait: 0, expectfail: True}, 10, - {client: client.0, lockfile: testfile, holdtime: 5}, + {client: client.0, lockfile: testfile, holdtime: 5, maxwait: 1}, {client: client.1, lockfile: testfile, holdtime: 5, maxwait: 1, expectfail: True}, {client: client.1, lockfile: testfile, holdtime: 5, maxwait: 11}] -- 2.39.5