]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rest/test.py: don't use newfs 8191/head
authorSage Weil <sage@redhat.com>
Fri, 18 Mar 2016 01:40:17 +0000 (21:40 -0400)
committerSage Weil <sage@redhat.com>
Fri, 18 Mar 2016 13:51:31 +0000 (09:51 -0400)
It doesn't work anymore.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/rest/test.py

index 1d20d7c09c9f4b9e3589a323e97dcf909b542557..f67f3aa0b0cdbc6ecd9e5bca36d193f59bd9f198 100755 (executable)
@@ -166,8 +166,9 @@ if __name__ == '__main__':
     r = expect('mds/dump.xml', 'GET', 200, 'xml')
     assert(r.tree.find('output/mdsmap/created') is not None)
 
-    expect('mds/newfs?metadata=0&data=1&sure=--yes-i-really-mean-it', 'PUT',
-           200, '')
+    expect('osd/pool/create?pg_num=1&pool=fsmetadata', 'PUT', 200, '')
+    expect('osd/pool/create?pg_num=1&pool=fsdata', 'PUT', 200, '')
+    expect('fs/new?fs_name=default&metadata=fsmetadata&data=fsdata', 'PUT', 200, '')
     expect('osd/pool/create?pool=data2&pg_num=10', 'PUT', 200, '')
     r = expect('osd/dump', 'GET', 200, 'json', JSONHDR)
     pools = r.myjson['output']['pools']