From fd8001a9fc7ea3a49c2b9fc3c3e20367e5dcf401 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 16 Nov 2018 16:01:39 +0100 Subject: [PATCH] tests: extend --- test/shell/lvextend-thin-metadata-dmeventd.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/shell/lvextend-thin-metadata-dmeventd.sh b/test/shell/lvextend-thin-metadata-dmeventd.sh index 3731bf6bf..437a04ea9 100644 --- a/test/shell/lvextend-thin-metadata-dmeventd.sh +++ b/test/shell/lvextend-thin-metadata-dmeventd.sh @@ -171,7 +171,9 @@ wait_for_change_ $pre lvchange -an $vg # -fake_metadata_ 350 2 >data +DATA=300 # Newer version of thin-pool have hidden reserve, so use lower value +aux target_at_least dm-thin-pool 1 20 0 || DATA=350 +fake_metadata_ $DATA 2 >data lvchange -ay $vg/$lv1 "$LVM_TEST_THIN_RESTORE_CMD" -i data -o "$DM_DEV_DIR/mapper/$vg-$lv1"