- pexec:
clients:
- cd $TESTDIR
- - wget http://ceph.com/qa/mdtest-1.9.3.tgz
+ - wget http://download.ceph.com/qa/mdtest-1.9.3.tgz
- mkdir mdtest-1.9.3
- cd mdtest-1.9.3
- tar xvfz $TESTDIR/mdtest-1.9.3.tgz
all:
- rm -f $TESTDIR/gmnt
- rm -rf $TESTDIR/mdtest-1.9.3
- - rm -rf $TESTDIR/._mdtest-1.9.3
\ No newline at end of file
+ - rm -rf $TESTDIR/._mdtest-1.9.3
- cram:
clients:
client.0:
- - http://ceph.com/qa/test.t
- - http://ceph.com/qa/test2.t]
- client.1: [http://ceph.com/qa/test.t]
+ - http://download.ceph.com/qa/test.t
+ - http://download.ceph.com/qa/test2.t]
+ client.1: [http://download.ceph.com/qa/test.t]
branch: foo
You can also run a list of cram tests on all clients::
- ceph:
- cram:
clients:
- all: [http://ceph.com/qa/test.t]
+ all: [http://download.ceph.com/qa/test.t]
:param ctx: Context
:param config: Configuration
- ceph:
- qemu:
client.0:
- test: http://ceph.com/qa/test.sh
+ test: http://download.ceph.com/qa/test.sh
client.1:
- test: http://ceph.com/qa/test2.sh
+ test: http://download.ceph.com/qa/test2.sh
Or use the same settings on all clients:
- ceph:
- qemu:
all:
- test: http://ceph.com/qa/test.sh
+ test: http://download.ceph.com/qa/test.sh
For tests that don't need a filesystem, set type to block::
- ceph:
- qemu:
client.0:
- test: http://ceph.com/qa/test.sh
+ test: http://download.ceph.com/qa/test.sh
type: block
The test should be configured to run on /dev/vdb and later
- ceph:
- qemu:
client.0:
- test: http://ceph.com/qa/test.sh
+ test: http://download.ceph.com/qa/test.sh
type: block
num_rbd: 2
- ceph:
- qemu:
client.0:
- test: http://ceph.com/qa/test.sh
+ test: http://download.ceph.com/qa/test.sh
memory: 512 # megabytes
If you want to run a test against a cloned rbd image, set clone to true::
- ceph:
- qemu:
client.0:
- test: http://ceph.com/qa/test.sh
+ test: http://download.ceph.com/qa/test.sh
clone: true
"""
assert isinstance(config, dict), \