tests: fix brokens tests for mds

5968cf0 broke the test on mds because of leftover.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/1976/head
Guillaume Abrioux 2017-10-04 16:47:09 +02:00
parent 8fac8f54a6
commit cdb5023d84
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ class TestMDSs(object):
@pytest.mark.docker
def test_docker_mds_is_up(self, node, host):
hostname = node["vars"]["inventory_hostname"]
hostname = node["groups"]["mons"][0]["inventory_hostname"]
cmd = "sudo docker exec ceph-mds-{hostname} ceph --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/{cluster}.keyring --cluster={cluster} --connect-timeout 5 -f json -s".format(
hostname=node["vars"]["inventory_hostname"],
cluster=node["cluster_name"]