summaryrefslogtreecommitdiff
path: root/test/shell/lvchange-raid.sh
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2013-06-15 11:21:03 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2013-06-16 00:07:33 +0200
commit362d8ead64baa4ca520a8b39db99d223a7b54a2c (patch)
treec778ba120eccc0861d796101c1710246baf76280 /test/shell/lvchange-raid.sh
parent5d73c0c674502bc1cf4962ee958511adf53fd720 (diff)
downloadlvm2-362d8ead64baa4ca520a8b39db99d223a7b54a2c.tar.gz
tests: more test run in cluster mode
aux updates: prepare_vg now created clustered VG for cluster tests. since dm-raid doesn't work in cluster, skip the cluster test when someone checks for dm-raid target until fixed.
Diffstat (limited to 'test/shell/lvchange-raid.sh')
-rw-r--r--test/shell/lvchange-raid.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/shell/lvchange-raid.sh b/test/shell/lvchange-raid.sh
index 0ef00b36b..b331961a8 100644
--- a/test/shell/lvchange-raid.sh
+++ b/test/shell/lvchange-raid.sh
@@ -139,7 +139,10 @@ run_syncaction_check() {
# Run "check" should turn up clean
lvchange --syncaction check $1/$2
+ aux wait_for_sync $1 $2
+ sync
fi
+
lvs --noheadings -o lv_attr $1/$2 | grep '.*-$'
[ `lvs --noheadings -o mismatches $1/$2` == 0 ]