]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: refactor suites/rados/rest/mgr-restful 16749/head
authorKefu Chai <kchai@redhat.com>
Wed, 2 Aug 2017 10:19:17 +0000 (18:19 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 2 Aug 2017 10:20:56 +0000 (18:20 +0800)
- 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>
qa/suites/rados/rest/mgr-restful.yaml

index e62dd068f11069c3f8f7d46c8866c8c01be7a8a2..da75ca77f21707cb1d1100831a2b05fc72680f3e 100644 (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
+