]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
add multiclient collection with a locking task
authorGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 25 Aug 2011 00:12:58 +0000 (17:12 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 25 Aug 2011 00:12:58 +0000 (17:12 -0700)
collections/multiclient/clusters/two_clients.yaml [new file with mode: 0644]
collections/multiclient/tasks/locking.yaml [new file with mode: 0644]

diff --git a/collections/multiclient/clusters/two_clients.yaml b/collections/multiclient/clusters/two_clients.yaml
new file mode 100644 (file)
index 0000000..36ac910
--- /dev/null
@@ -0,0 +1,4 @@
+roles:
+- [mon.0, mds.0, osd.0]
+- [mon.1, client.1]
+- [mon.2, client.0]
diff --git a/collections/multiclient/tasks/locking.yaml b/collections/multiclient/tasks/locking.yaml
new file mode 100644 (file)
index 0000000..b691bb0
--- /dev/null
@@ -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}]
\ No newline at end of file