1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: accept also closing status

This commit is contained in:
Zdenek Kabelac 2024-04-24 13:44:58 +02:00
parent b14f29ab5b
commit baebd7ca29

View File

@ -40,14 +40,14 @@ check grep_dmsetup status $vg-vdopool-vpool " online online "
# dedulication_ARG # dedulication_ARG
lvchange --deduplication n $vg/vdopool lvchange --deduplication n $vg/vdopool
check grep_dmsetup status $vg-vdopool-vpool -E " offline|closed online " check grep_dmsetup status $vg-vdopool-vpool -E " offline|closed|closing online "
lvchange --deduplication y $vg/vdopool lvchange --deduplication y $vg/vdopool
check grep_dmsetup status $vg-vdopool-vpool -E " online|opening online " check grep_dmsetup status $vg-vdopool-vpool -E " online|opening online "
lvchange --compression n --deduplication n $vg/vdopool lvchange --compression n --deduplication n $vg/vdopool
check grep_dmsetup status $vg-vdopool-vpool -E " offline|closed offline " check grep_dmsetup status $vg-vdopool-vpool -E " offline|closed|closing offline "
# --vdosettings needs inactive LV # --vdosettings needs inactive LV
not lvchange --vdosettings 'ack_threads=8' $vg/vdopool not lvchange --vdosettings 'ack_threads=8' $vg/vdopool