From a611f24751839b6ed63b130a75e403ac139eede9 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 1 Nov 2019 16:11:01 +0100 Subject: [PATCH] tests: larger are needs to be disabled Since we 'disable' lvmetad via --repair of 'raid' if such target is not present, we simply skip all tests expecting disabled lvmetad. --- test/shell/lvmetad-disabled.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/shell/lvmetad-disabled.sh b/test/shell/lvmetad-disabled.sh index 389d19107..0a9f44c8f 100644 --- a/test/shell/lvmetad-disabled.sh +++ b/test/shell/lvmetad-disabled.sh @@ -62,7 +62,6 @@ if aux have_raid 1 7 0 ; then lvcreate --type raid1 -m1 --nosync -l1 --alloc anywhere -n $lv2 $vg1 lvconvert -y --repair $vg1/$lv2 2>&1 | tee out grep "WARNING: Disabling lvmetad cache" out -fi pvs -vvvv 2>&1 | tee out grep "$dev1" out @@ -80,6 +79,7 @@ grep "WARNING: Not using lvmetad" out pvremove "$dev1" 2>&1 | tee out grep "WARNING: Not using lvmetad" out +fi pvscan --cache 2>&1 | tee out not grep "WARNING: Disabling lvmetad cache" out