From: Kefu Chai Date: Wed, 2 Aug 2017 10:19:17 +0000 (+0800) Subject: qa: refactor suites/rados/rest/mgr-restful X-Git-Tag: ses5-milestone10~3^2~23^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da1a60ced15eee675b2a7f8ec26c578e9fc6b24e;p=ceph.git qa: refactor suites/rados/rest/mgr-restful - use "ceph restful restart" to restart the restful API server instead of restarting the ceph-mgr - test "ceph restful delete-key" - test "ceph restful list-keys" Signed-off-by: Kefu Chai --- diff --git a/qa/suites/rados/rest/mgr-restful.yaml b/qa/suites/rados/rest/mgr-restful.yaml index e62dd068f110..da75ca77f217 100644 --- a/qa/suites/rados/rest/mgr-restful.yaml +++ b/qa/suites/rados/rest/mgr-restful.yaml @@ -10,8 +10,13 @@ tasks: mon.a: - ceph restful create-key admin - ceph restful create-self-signed-cert -- ceph.restart: [mgr.x] + - ceph restful restart - workunit: clients: client.a: - rest/test-restful.sh +- exec: + mon.a: + - ceph restful delete-key admin + - ceph restful list-keys | jq ".admin" | grep null +