From 5c0eb6e35e9a634282549de1a69e8f9194f5adfb Mon Sep 17 00:00:00 2001 From: "Adam C. Emerson" Date: Fri, 7 May 2021 20:01:11 -0400 Subject: [PATCH] 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 --- qa/tasks/rgw_multisite_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/tasks/rgw_multisite_tests.py b/qa/tasks/rgw_multisite_tests.py index 5354e756fd73..732a2c17d22e 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' -- 2.47.3