summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-22 21:04:01 -0700
committerSage Weil <sage@inktank.com>2013-07-22 21:04:01 -0700
commit3f31540448e20fd6391773d4f3d46d76060b31c8 (patch)
tree1450953321f78b0a11dd774a3e2f31be43fc0f0d
parent9626f77f095eb4c3aa38e56b5fc82a9aa931efa5 (diff)
downloadceph-3f31540448e20fd6391773d4f3d46d76060b31c8.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, '')