From 2036608423117626eb1905b38e09c767983b2ef4 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 22 May 2019 11:55:48 -0500 Subject: [PATCH] tests: pvscan-cache try to fix teardown problems teardown after the test was failing, probably because of uncoordinated udev actions running on the test system. Try to avoid this by doing some work before teardown. --- test/shell/pvscan-cache.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/shell/pvscan-cache.sh b/test/shell/pvscan-cache.sh index e0576f905..87885941b 100644 --- a/test/shell/pvscan-cache.sh +++ b/test/shell/pvscan-cache.sh @@ -75,4 +75,7 @@ aux enable_dev "$dev2" pvscan --cache check pv_field "$dev1" vg_name "$vg1" +vgchange -an $vg1 +lvremove $vg1/$lv1 + vgremove -ff $vg1 -- 2.43.5