]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: update rest test cephfs calls 8372/head
authorJohn Spray <john.spray@redhat.com>
Wed, 30 Mar 2016 10:43:22 +0000 (11:43 +0100)
committerJohn Spray <john.spray@redhat.com>
Wed, 30 Mar 2016 10:43:22 +0000 (11:43 +0100)
Since the ceph task was already creating filesystems
during setup, I presume that these calls only ever
worked when they were using the same names as
the existing filesystem.

Fixes: http://tracker.ceph.com/issues/15309
Signed-off-by: John Spray <john.spray@redhat.com>
qa/workunits/rest/test.py

index f67f3aa0b0cdbc6ecd9e5bca36d193f59bd9f198..7078da648db475e6f4a4e8fb2bc84ef67aa88835 100755 (executable)
@@ -166,9 +166,9 @@ if __name__ == '__main__':
     r = expect('mds/dump.xml', 'GET', 200, 'xml')
     assert(r.tree.find('output/mdsmap/created') is not None)
 
-    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?pg_num=1&pool=cephfs_metadata', 'PUT', 200, '')
+    expect('osd/pool/create?pg_num=1&pool=cephfs_data', 'PUT', 200, '')
+    expect('fs/new?fs_name=cephfs&metadata=cephfs_metadata&data=cephfs_data', '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']