]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/mgr: restructure dashboard tests 20768/head
authorKefu Chai <kchai@redhat.com>
Wed, 7 Mar 2018 09:17:24 +0000 (17:17 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 7 Mar 2018 09:27:36 +0000 (17:27 +0800)
commit59221274cb237eb5b412fe50c0163ce4a6fdc0e6
tree131f90187e7d834f6abac5de3007348d1e18dda3
parentaedbbe791ffb048dabfb783efb6d9b6e0c282bbe
test/mgr: restructure dashboard tests

* restructure dashboard tests so they follow the model of other tests
  based on ceph-helpers.sh. i.e. extract the TEST_* out of run()
  function.
* expose mon-host using CEPH_ARGS env variable.
* mgr-dashboard_v2-smoke.sh: do not export CEPH_ARGS in a subshell, so
  the run_mgr() and ceph cli can also have access to the updated
  CEPH_ARGS, and hence they will be able to locate the mon. and because
  auth-supported=none is populated using CEPH_ARGS, this test won't fail
  because of missing keyring.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/mgr/mgr-dashboard-smoke.sh
src/test/mgr/mgr-dashboard_v2-smoke.sh