From: Sage Weil Date: Sun, 17 Aug 2014 04:13:21 +0000 (-0700) Subject: qa/workunits/rest/test.py: fix rd_kb -> rd_bytes X-Git-Tag: v0.85~23 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d7a229c1483146044d3a325f5484cdcfb251574;p=ceph.git qa/workunits/rest/test.py: fix rd_kb -> rd_bytes Signed-off-by: Sage Weil --- diff --git a/qa/workunits/rest/test.py b/qa/workunits/rest/test.py index fde74985302a..341af0e6d815 100755 --- a/qa/workunits/rest/test.py +++ b/qa/workunits/rest/test.py @@ -136,9 +136,9 @@ if __name__ == '__main__': assert(r.tree.find('output/stats/stats/total_used_bytes') is not None) r = expect('df?detail', 'GET', 200, 'json', JSONHDR) - assert('rd_kb' in r.myjson['output']['pools'][0]['stats']) + assert('rd_bytes' in r.myjson['output']['pools'][0]['stats']) r = expect('df?detail', 'GET', 200, 'xml', XMLHDR) - assert(r.tree.find('output/stats/pools/pool/stats/rd_kb') is not None) + assert(r.tree.find('output/stats/pools/pool/stats/rd_bytes') is not None) expect('fsid', 'GET', 200, 'json', JSONHDR) expect('health', 'GET', 200, 'json', JSONHDR)