Commit 7e1db0b5 authored by Guillaume Abrioux's avatar Guillaume Abrioux
Browse files

tests: fix `test_nfs_is_up` test

the data structure seems to have been modified in ceph@master (quincy).

This commit update the test accordingly.
Signed-off-by: default avatarGuillaume Abrioux <>
parent ed79bc7a
......@@ -38,9 +38,14 @@ class TestNFSs(object):
output = host.check_output(cmd)
daemons = [i for i in json.loads(
assert hostname in daemons
keys = [i for i in json.loads(
daemons = json.loads(output)["servicemap"]["services"]["rgw-nfs"]["daemons"]
hostnames = []
for key in keys:
# NOTE (guits): This check must be fixed. (Permission denied error)
# @pytest.mark.no_docker
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment