From 33a7db0e6ad3c51fa3840567d620b9dba76af6c0 Mon Sep 17 00:00:00 2001 From: Ricardo Dias Date: Tue, 13 Feb 2018 14:11:27 +0000 Subject: [PATCH] mgr/dashboard_v2: fix tox.ini to handle the vstart changes vstart.sh script now enables and configures dashboard_v2 module, so tox.ini script needs to handle that. Signed-off-by: Ricardo Dias --- src/pybind/mgr/dashboard_v2/tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pybind/mgr/dashboard_v2/tox.ini b/src/pybind/mgr/dashboard_v2/tox.ini index 1039e3089de..f30930de049 100644 --- a/src/pybind/mgr/dashboard_v2/tox.ini +++ b/src/pybind/mgr/dashboard_v2/tox.ini @@ -36,6 +36,8 @@ setenv= commands = bash ../src/vstart.sh -n sleep 10 + python ./bin/ceph mgr module disable dashboard_v2 + sleep 5 python ./bin/ceph config-key set mgr/dashboard_v2/x/server_port 9865 python ./bin/ceph mgr module enable dashboard_v2 cp ceph.conf {toxinidir}/ -- 2.39.5