Sage Weil
75c55258f1
qa/workunits/rest: use larger max_file_size
...
64k is the min.
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-08 08:22:29 -08:00
Sage Weil
8e30db8f2a
rest: add a few rest api tests
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-03 17:50:32 -08:00
tamil
47bc71a7b4
fixed the syntax for test maxmds=2
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-01-17 15:56:36 -08:00
tamil
a13ebd370a
fix for the test maxmds=2
...
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-01-17 15:41:48 -08:00
Sage Weil
2b36761b81
mon: favor 'mds set max_mds' over 'mds set_max_mds'
...
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-15 19:02:23 -08:00
Sage Weil
12f4631586
qa/workunits/rest/test.py: rbd pool ruleset is now 0
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-12-28 10:36:27 -08:00
Sage Weil
1f291f5c89
qa/workunits/rest/test.py: fix mds {add,remove}_data_pool test
...
Arg name changed from poolid to pool in e2602c54
.
Signed-off-by: Sage Weil <sage@inktank.com>
2013-10-17 14:38:37 -07:00
Dan Mick
6dd4ff8371
cephtool/test.sh, rest/test.py: add tell command tests
...
Also add HTTP method to test.py output
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-08-05 11:21:19 -07:00
Dan Mick
c9e8ff2bf1
rest/test.py: retry mds setmap in case epoch has changed
...
Loop 10 times retrying mds dump/getmap/setmap.
Fixes : #5815
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-31 18:11:47 -07:00
Dan Mick
dc1d95d713
rest/test.py: expect_nofail() to allow examination of reason
...
Also remove unused MyException
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-31 18:11:47 -07:00
Dan Mick
47d0937ccb
rest/test.py: earlier versions of requests.py don't quote ' ' in params
...
requests 0.12.1 handles queryparams in the URL with embedded
spaces; requests 0.8.2 does not. Avoid the issue by quoting the
URL into expect().
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-25 21:41:32 -07:00
Dan Mick
fe2019cc97
rest/test.py: cope with older requests.py versions
...
Older requests.py didn't have r.json (or r.json()); avoid by
decoding the json myself
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-24 16:09:13 -07:00
Dan Mick
1579c344fe
rest/test.py: osd lspools should be a 'GET'
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-24 11:56:20 -07:00
Dan Mick
e4d0eeefa2
mon: "mds stat" must open/close section around dump_info
...
dump_info() got a new field outside the mdsmap section; it's ok for
the overall "report", but not for "mds stat". Add an enclosing section
in "mds stat". Fix test to expect new level.
Fixes : #5718
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2013-07-23 14:03:52 -07:00
Sage Weil
3f31540448
qa/workunits/rest/test: cluster_down/up are now idempotent
...
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-22 21:04:01 -07:00
Dan Mick
6cafb0e3e0
ceph-rest-api tests
...
Patterned after cephtool/test.sh, with some deeper validation of
output format and contents (because structured output is easier
to validate).
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2013-07-10 20:58:51 -07:00