From: Adam C. Emerson Date: Sat, 8 May 2021 00:01:11 +0000 (-0400) Subject: qa/rgw: rgw_multisite_tests task loads default plugins X-Git-Tag: v18.0.0~787^2~169 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e432f4a4be3b7fcc0b3985441bd66982e4201cf4;p=ceph.git qa/rgw: rgw_multisite_tests task loads default plugins the ability to filter tests by attribute is provided by the nose.plugins.attrib plugin, which wasn't being loaded by default Signed-off-by: Casey Bodley --- diff --git a/qa/tasks/rgw_multisite_tests.py b/qa/tasks/rgw_multisite_tests.py index 5354e756fd7..732a2c17d22 100644 --- a/qa/tasks/rgw_multisite_tests.py +++ b/qa/tasks/rgw_multisite_tests.py @@ -7,6 +7,7 @@ import nose.core import nose.config import sys +from nose.plugins.manager import DefaultPluginManager from teuthology.config import config as teuth_config from teuthology.exceptions import ConfigError from teuthology.repo_utils import fetch_repo @@ -90,6 +91,7 @@ class RGWMultisiteTests(Task): # run nose tests in the module path conf = nose.config.Config(stream=get_log_stream(), verbosity=2, workingDir=self.module_path) + conf.plugins = DefaultPluginManager() # overrides default = NoPlugins() assert nose.run(argv=argv, config=conf), 'rgw multisite test failures'