mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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
|
||||
|
||||
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
|
||||
lvchange -an $vg1
|
||||
check inactive $vg1 $lv1
|
||||
|
Loading…
Reference in New Issue
Block a user