From da1a60ced15eee675b2a7f8ec26c578e9fc6b24e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 2 Aug 2017 18:19:17 +0800 Subject: [PATCH] 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 --- qa/suites/rados/rest/mgr-restful.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qa/suites/rados/rest/mgr-restful.yaml b/qa/suites/rados/rest/mgr-restful.yaml index e62dd068f1106..da75ca77f2170 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 + -- 2.39.5