mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
Merge PR #41171 into master
* refs/pull/41171/head: test: disable mirroring module for certain tests Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
e9f7fafe52
@ -694,6 +694,11 @@ class TestMirroring(CephFSTestCase):
|
||||
def test_mirroring_init_failure(self):
|
||||
"""Test mirror daemon init failure"""
|
||||
|
||||
# disable mgr mirroring plugin as it would try to load dir map on
|
||||
# on mirroring enabled for a filesystem (an throw up erorrs in
|
||||
# the logs)
|
||||
self.disable_mirroring_module()
|
||||
|
||||
# enable mirroring through mon interface -- this should result in the mirror daemon
|
||||
# failing to enable mirroring due to absence of `cephfs_mirorr` index object.
|
||||
self.mgr_cluster.mon_manager.raw_cluster_cmd("fs", "mirror", "enable", self.primary_fs_name)
|
||||
|
Loading…
Reference in New Issue
Block a user