]> git.apps.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>
Thu, 1 Aug 2019 13:35:25 +0000 (15:35 +0200)
commitbb29110c3c6e081568231131c70522dee6d12bb5
tree844f096e1eac18354c8d159a3284993ceafd7491
parentf42287c3416ad09c112e64756f5051c5c13aa344
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>
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