]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
locking test: add a maxwait to each lock attempt
authorGreg Farnum <gregory.farnum@dreamhost.com>
Tue, 13 Sep 2011 17:53:57 +0000 (10:53 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Tue, 13 Sep 2011 17:53:57 +0000 (10:53 -0700)
It looks like one of these was hanging, but never timed out.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
collections/multiclient/tasks/locking.yaml

index a54ea0d34918a156fdc54a8d664228258c7c2923..865b3b6b7be386aa390b083b415b8ff2c2ccb9e5 100644 (file)
@@ -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}]