mirror of
https://github.com/ceph/ceph
synced 2025-01-21 02:31:19 +00:00
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:
parent
cabad62242
commit
766229b034
@ -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}
|
18
qa/suites/rados/standalone/scrub.yaml
Normal file
18
qa/suites/rados/standalone/scrub.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user