From 83a248b55bf454c44ed32503b7b5bff820d2a0c3 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 24 Aug 2011 17:12:58 -0700 Subject: [PATCH] add multiclient collection with a locking task --- collections/multiclient/clusters/two_clients.yaml | 4 ++++ collections/multiclient/tasks/locking.yaml | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 collections/multiclient/clusters/two_clients.yaml create mode 100644 collections/multiclient/tasks/locking.yaml diff --git a/collections/multiclient/clusters/two_clients.yaml b/collections/multiclient/clusters/two_clients.yaml new file mode 100644 index 0000000000000..36ac9102970a9 --- /dev/null +++ b/collections/multiclient/clusters/two_clients.yaml @@ -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 index 0000000000000..b691bb0d7f71f --- /dev/null +++ b/collections/multiclient/tasks/locking.yaml @@ -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 -- 2.39.5