diff --git a/collections/multiclient/clusters/two_clients.yaml b/collections/multiclient/clusters/two_clients.yaml new file mode 100644 index 00000000000..36ac9102970 --- /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 00000000000..b691bb0d7f7 --- /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