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')