add multiclient collection with a locking task

This commit is contained in:
Greg Farnum 2011-08-24 17:12:58 -07:00
parent 103a1983a7
commit 83a248b55b
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,4 @@
roles:
- [mon.0, mds.0, osd.0]
- [mon.1, client.1]
- [mon.2, client.0]

View File

@ -0,0 +1,12 @@
kernel:
branch: master
tasks:
- ceph:
- kclient:
- lockfile: [{client: client.1, lockfile: testfile, holdtime: 5},
{client: client.2, lockfile: testfile, holdtime: 5, maxwait: 11},
{client: client.2, lockfile: testfile, holdtime: 0, maxwait: 0, expectfail: True},
10,
{client: client.1, lockfile: testfile, holdtime: 5},
{client: client.2, lockfile: testfile, holdtime: 5, maxwait: 1, expectfail: True},
{client: client.2, lockfile: testfile, holdtime: 5, maxwait: 11}]