tests: ensure ceph-mon is installed on mons

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1150/head
Andrew Schoen 2016-12-05 16:21:10 -06:00
parent 8ed8dfd907
commit dddfe6d9de
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
class TestMons(object):
def test_ceph_mon_package_is_installed(self, CephNode, Package):
assert Package("ceph-mon").is_installed
def test_mon_listens_on_6789(self, CephNode, Socket):
assert Socket("tcp://%s:6789" % CephNode["address"]).is_listening