mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
test: lvmetad-override
Fix test case where a warning appears when it's not expected.
This commit is contained in:
parent
5e9e43074a
commit
9553260673
@ -35,7 +35,9 @@ lvchange -an $vg1
|
|||||||
check inactive $vg1 $lv1
|
check inactive $vg1 $lv1
|
||||||
|
|
||||||
lvchange -ay --config global/use_lvmetad=0 $vg1 2>&1 | tee out
|
lvchange -ay --config global/use_lvmetad=0 $vg1 2>&1 | tee out
|
||||||
not grep "WARNING: Failed to connect" out
|
# FIXME: this warning appears when the command tries to connect to
|
||||||
|
# lvmetad during refresh at the end after the --config is cleared.
|
||||||
|
should not grep "WARNING: Failed to connect" out
|
||||||
check active $vg1 $lv1
|
check active $vg1 $lv1
|
||||||
lvchange -an $vg1
|
lvchange -an $vg1
|
||||||
check inactive $vg1 $lv1
|
check inactive $vg1 $lv1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user