mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
tests: drop extra loop
Loop was added as a result of unworking singlenode locking, since this should be now fixed - remove this workaround.
This commit is contained in:
parent
151f4ba64e
commit
9658032cba
@ -78,13 +78,6 @@ dm_table $vg-$lv1 | grep " snapshot-merge " || dm_table $vg-$lv1 | grep " linear
|
|||||||
# may test stopping an active merge
|
# may test stopping an active merge
|
||||||
lvremove -f $vg/$lv1
|
lvremove -f $vg/$lv1
|
||||||
|
|
||||||
# wait a while if the merge and remove is still not finished
|
|
||||||
# since it may still keep $lv1 in vg being present
|
|
||||||
for i in 1 2 3 4 ; do
|
|
||||||
lvs $vg/$lv1 2>/dev/null || break;
|
|
||||||
sleep .2
|
|
||||||
done
|
|
||||||
|
|
||||||
# "onactivate merge" test
|
# "onactivate merge" test
|
||||||
# -- deactivate/remove after disallowed merge attempt, tests
|
# -- deactivate/remove after disallowed merge attempt, tests
|
||||||
# to make sure preload of origin's metadata is _not_ performed
|
# to make sure preload of origin's metadata is _not_ performed
|
||||||
|
Loading…
Reference in New Issue
Block a user