]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: tests - updated to include cephadm-exporter
authorPaul Cuzner <pcuzner@redhat.com>
Tue, 17 Nov 2020 20:57:17 +0000 (09:57 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 17 Nov 2020 20:57:17 +0000 (09:57 +1300)
commit4a7ece8e5e6cb0d71f371b7c0e8e1740b4db1233
tree394487fd659fc5eb8706123b355027abe9c94975
parente58e86b215245dd60f4ba199c4274e49b3b6f26d
cephadm: tests - updated to include cephadm-exporter

Main unit tests now includes daemon and service
deployments for cephadm-exporter.

In addition, the assert_rm_daemon function has been
tweaked, to avoid problems with services that contain
'-' during fnmatch invocations. Service names that use
'-' could result in "bad character range" exceptions from
the re module, it can be treated like a range separator.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/pybind/mgr/cephadm/tests/test_cephadm.py