From: Sage Weil Date: Tue, 8 Mar 2016 19:34:40 +0000 (-0500) Subject: qa/workunits/rest/test.py: add confirmation to 'mds setmap' X-Git-Tag: v10.1.0~153^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bdcc84042c12e9e4a5eaa92bfa87d2c46dd39dca;p=ceph.git qa/workunits/rest/test.py: add confirmation to 'mds setmap' Broken when we added the confirmation in fc3554e36af439ef1cec0be3d98ca0fabe15ba73 Fixes: #14606 Signed-off-by: Sage Weil --- diff --git a/qa/workunits/rest/test.py b/qa/workunits/rest/test.py index 0c67b02d788c..5dc7f6a1f761 100755 --- a/qa/workunits/rest/test.py +++ b/qa/workunits/rest/test.py @@ -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: