From 4b7097b96c94e115581e77588fe1591dae1e035f Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 12 Feb 2015 10:40:57 +0100 Subject: [PATCH] tests: ensure array is synchronized Before continue of repair test, ensure mirror is in sync --- test/shell/lvconvert-repair-transient.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/shell/lvconvert-repair-transient.sh b/test/shell/lvconvert-repair-transient.sh index 99018ef4d..9bf6a9d0c 100644 --- a/test/shell/lvconvert-repair-transient.sh +++ b/test/shell/lvconvert-repair-transient.sh @@ -17,6 +17,7 @@ aux prepare_vg 5 # ordinary mirrors lvcreate -aey --type mirror -m 3 --ignoremonitoring -L 1 -n 4way $vg +aux wait_for_sync $vg 4way aux disable_dev --error --silent "$dev2" "$dev4" mkfs.ext3 "$DM_DEV_DIR/$vg/4way" & sleep 1