qa/standalone/scrub: separate scrub/repair tests from rest of osd/

They are slow.  Run them separately.

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2017-07-23 22:05:59 -04:00
parent cabad62242
commit 766229b034
3 changed files with 21 additions and 1 deletions

View File

@ -487,6 +487,7 @@ function TEST_corrupt_scrub_replicated() {
create_rbd_pool || return 1
wait_for_clean || return 1
ceph osd pool create foo 1 || return 1
ceph osd pool create $poolname 1 1 || return 1
wait_for_clean || return 1
@ -1614,9 +1615,10 @@ function corrupt_scrub_erasure() {
fi
done
create_rbd_pool || return 1
wait_for_clean || return 1
ceph osd pool create foo 1
create_ec_pool $poolname $allow_overwrites k=2 m=1 stripe_unit=2K --force || return 1
wait_for_clean || return 1
for i in $(seq 1 $total_objs) ; do
objname=EOBJ${i}

View File

@ -0,0 +1,18 @@
roles:
- - mon.a
- mgr.x
- osd.0
- osd.1
- osd.2
- client.0
openstack:
- volumes: # attached to each instance
count: 3
size: 10 # GB
tasks:
- install:
- workunit:
basedir: qa/standalone
clients:
all:
- scrub