From 597b3576c7399d76ab4da5dccf505f2f2cc4fce2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 25 May 2017 15:06:57 +0200 Subject: [PATCH] tests: wait for raid in sync Lvchange needs synchronized raid. --- test/shell/lvchange-raid.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/shell/lvchange-raid.sh b/test/shell/lvchange-raid.sh index 34a40dc8d..7418cd557 100644 --- a/test/shell/lvchange-raid.sh +++ b/test/shell/lvchange-raid.sh @@ -42,6 +42,7 @@ run_writemostly_check() { printf "#\n#\n#\n# %s/%s (%s): run_writemostly_check\n#\n#\n#\n" \ $vg $lv $segtype + aux wait_for_sync $vg $lv # No writemostly flag should be there yet. check lv_attr_bit health $vg/${lv}_rimage_0 "-" -- 2.43.5