mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
Merge pull request #8393 from jcsp/wip-15309-2
qa: update rest test cephfs calls (part 2) Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
77aee99835
@ -196,9 +196,9 @@ if __name__ == '__main__':
|
||||
r = expect('mds/stat.json', 'GET', 200, 'json')
|
||||
expect('mds/set?var=max_mds&val=2', 'PUT', 200, '')
|
||||
r = expect('mds/stat.json', 'GET', 200, 'json')
|
||||
assert('info' in r.myjson['output']['mdsmap'])
|
||||
assert('epoch' in r.myjson['output']['fsmap'])
|
||||
r = expect('mds/stat.xml', 'GET', 200, 'xml')
|
||||
assert(r.tree.find('output/mds_stat/mdsmap/info') is not None)
|
||||
assert(r.tree.find('output/mds_stat/fsmap/epoch') is not None)
|
||||
|
||||
# more content tests below, just check format here
|
||||
expect('mon/dump.json', 'GET', 200, 'json')
|
||||
|
Loading…
Reference in New Issue
Block a user