summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-22 21:04:01 -0700
committerJoao Eduardo Luis <joao.luis@inktank.com>2013-07-23 16:36:29 +0100
commit4b4434d1bf6045ea669a946dc3bf636d40f0271f (patch)
tree00f4fa03fbab040de843364d7fcce0d3199cae5f
parentfc6cb81ebae3b4bc3634e8db04218c9d838db6eb (diff)
downloadceph-4b4434d1bf6045ea669a946dc3bf636d40f0271f.tar.gz
qa/workunits/rest/test: cluster_down/up are now idempotent
Signed-off-by: Sage Weil <sage@inktank.com>
-rwxr-xr-xqa/workunits/rest/test.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/qa/workunits/rest/test.py b/qa/workunits/rest/test.py
index 0c99891bad3..272760c8289 100755
--- a/qa/workunits/rest/test.py
+++ b/qa/workunits/rest/test.py
@@ -141,11 +141,9 @@ if __name__ == '__main__':
# XXX no ceph -w equivalent yet
expect('mds/cluster_down', 'PUT', 200, '')
- # failure if down
- expect('mds/cluster_down', 'PUT', 400, '')
+ expect('mds/cluster_down', 'PUT', 200, '')
+ expect('mds/cluster_up', 'PUT', 200, '')
expect('mds/cluster_up', 'PUT', 200, '')
- # failure if up
- expect('mds/cluster_up', 'PUT', 400, '')
expect('mds/compat/rm_incompat?feature=4', 'PUT', 200, '')
expect('mds/compat/rm_incompat?feature=4', 'PUT', 200, '')