From 47bc71a7b4e6a5e2550863842d44796776243ef0 Mon Sep 17 00:00:00 2001 From: tamil Date: Fri, 17 Jan 2014 15:56:36 -0800 Subject: [PATCH] fixed the syntax for test maxmds=2 Signed-off-by: tamil --- 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 b7f966be2c16..f2f1d6a93236 100755 --- a/qa/workunits/rest/test.py +++ b/qa/workunits/rest/test.py @@ -206,7 +206,7 @@ if __name__ == '__main__': assert(r.myjson['output']['max_mds'] == 4) expect('mds/set_max_mds?maxmds=3', 'PUT', 200, '') r = expect('mds/stat.json', 'GET', 200, 'json') - expect('mds/set?var=max_mds&maxmds=2', 'PUT', 200, '') + expect('mds/set?var=max_mds&val=2', 'PUT', 200, '') r = expect('mds/stat.json', 'GET', 200, 'json') assert('info' in r.myjson['output']['mdsmap']) r = expect('mds/stat.xml', 'GET', 200, 'xml') -- 2.47.3