]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: adjust tests for empty PARTLABEL fields
authorJan Fajerski <jfajerski@suse.com>
Tue, 30 Jul 2019 15:29:09 +0000 (17:29 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 2 Aug 2019 09:31:48 +0000 (11:31 +0200)
commitd041cb0cfb6c7961998cd68ad2dca946a80c512a
treebf592cbfea23144742e39b27cf314073f2899ec4
parente5b52beeacf360bbed66efc4d4cdc649626d1571
ceph-volume: adjust tests for empty PARTLABEL fields

It seems like ceph-disk sometimes creates OSDs where the wal and db
partitions have no PARTLABEL set. This commit alters tests so that the
empty string is considered a valid label.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit bb29110c3c6e081568231131c70522dee6d12bb5)
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/constants.py