summaryrefslogtreecommitdiffstats
path: root/test/shell/lvconvert-mirror-basic.sh
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-04 16:02:19 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-04 16:02:19 +0000
commit487c65373b79dee42c616d963497d25b295f5c35 (patch)
treeca3e78c1fc852a91cf22d37eb4178cf3dab455a7 /test/shell/lvconvert-mirror-basic.sh
parent98c92abf4ef5b91638c0c3589b66b88de6b4dc70 (diff)
downloadlvm2-487c65373b79dee42c616d963497d25b295f5c35.tar.gz
lvm2-487c65373b79dee42c616d963497d25b295f5c35.tar.xz
lvm2-487c65373b79dee42c616d963497d25b295f5c35.zip
Speedup test run by a few minutes
Reduce disc excercise for some test and focus on LVM testing by using smaller extent size. Reduce number of teardown_devs calls and use vg/lvremove instead. Don't sleep for seconds on pvmove. FIXME: shell/lvconvert-mirror-basic.sh seems to need more checking. Test fails for smalled extent size then 512k.
Diffstat (limited to 'test/shell/lvconvert-mirror-basic.sh')
-rw-r--r--test/shell/lvconvert-mirror-basic.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/shell/lvconvert-mirror-basic.sh b/test/shell/lvconvert-mirror-basic.sh
index 09621733..8d398632 100644
--- a/test/shell/lvconvert-mirror-basic.sh
+++ b/test/shell/lvconvert-mirror-basic.sh
@@ -121,7 +121,8 @@ test_lvconvert()
fi
}
-aux prepare_vg 5 16
+aux prepare_pvs 5 5
+vgcreate -c n -s 128k $vg $(cat DEVICES)
test_many() {
i=$1