From bdcc84042c12e9e4a5eaa92bfa87d2c46dd39dca Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 8 Mar 2016 14:34:40 -0500 Subject: [PATCH] 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 --- qa/workunits/rest/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rest/test.py b/qa/workunits/rest/test.py index 0c67b02d788..5dc7f6a1f76 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: -- 2.47.3