]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rest/test.py: add confirmation to 'mds setmap' 7982/head
authorSage Weil <sage@redhat.com>
Tue, 8 Mar 2016 19:34:40 +0000 (14:34 -0500)
committerSage Weil <sage@redhat.com>
Tue, 8 Mar 2016 19:34:40 +0000 (14:34 -0500)
Broken when we added the confirmation in
fc3554e36af439ef1cec0be3d98ca0fabe15ba73

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

index 0c67b02d788ca24e90be823910253298cf2b9afd..5dc7f6a1f7614fb10193a589a56d1096462c1000 100755 (executable)
@@ -175,7 +175,7 @@ if __name__ == '__main__':
         map = expect('mds/getmap', 'GET', 200, '')
         assert(len(map.content) != 0)
         msg, r = expect_nofail(
-            'mds/setmap?epoch={0}'.format(current_epoch + 1), 'PUT', 200,
+            'mds/setmap?epoch={0}&confirm=--yes-i-really-mean-it'.format(current_epoch + 1), 'PUT', 200,
             'plain', {'Content-Type':'text/plain'}, data=map.content
             )
         if msg: