mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
tests: ceph_objectstore_tool.py: kill all daemons
init-ceph kills all daemons that can be identified by get_name_list() by default, so no need to list them explicitly. also, without this change, mgr is not stopped when the test finishes. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
b973c88dfa
commit
d3de0036b4
@ -399,7 +399,7 @@ CEPH_DIR = CEPH_BUILD_DIR + "/cot_dir"
|
||||
CEPH_CONF = os.path.join(CEPH_DIR, 'ceph.conf')
|
||||
|
||||
def kill_daemons():
|
||||
call("{path}/init-ceph -c {conf} stop osd mon > /dev/null 2>&1".format(conf=CEPH_CONF, path=CEPH_BIN), shell=True)
|
||||
call("{path}/init-ceph -c {conf} stop > /dev/null 2>&1".format(conf=CEPH_CONF, path=CEPH_BIN), shell=True)
|
||||
|
||||
|
||||
def check_data(DATADIR, TMPFILE, OSDDIR, SPLIT_NAME):
|
||||
|
Loading…
Reference in New Issue
Block a user