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 <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-08-02 18:19:17 +08:00
parent 868420e421
commit da1a60ced1

View File

@ -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