diff options
author | Amrith Kumar <amrith@tesora.com> | 2015-10-17 18:29:57 -0400 |
---|---|---|
committer | Amrith Kumar <amrith@tesora.com> | 2015-11-10 15:42:22 -0500 |
commit | 34ce70e299f57018b370ea0b8aa457f737f470b7 (patch) | |
tree | 6b790c07fe5eb20534acbeefed6a9c72cbb0f9e7 /run_tests.py | |
parent | 709a33f8be3ee23ceabbe84f67f362c1a1515426 (diff) | |
download | trove-34ce70e299f57018b370ea0b8aa457f737f470b7.tar.gz |
Correct errors resulting in "No handlers ..." error message
This is a checkin for the issue of having errors that read "No
handlers could be found for logger X.Y.Z" when running tests. While
being annoying, it is also a serious issue in that some times, the
lack of logging masks errors in the tests. One such example is fixed
in this chkin (see bug 1491093).
Change-Id: I4066d226aefbd23248e88692db109d31f5c150e9
Partial-Bug: #1491075
Closes-Bug: #1491093
Diffstat (limited to 'run_tests.py')
-rw-r--r-- | run_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/run_tests.py b/run_tests.py index 0c87df56..de43aa82 100644 --- a/run_tests.py +++ b/run_tests.py @@ -35,6 +35,7 @@ from trove.common.rpc import version as rpc_version from trove.common import utils from trove import rpc from trove.tests.config import CONFIG +from trove.tests import root_logger eventlet.monkey_patch(thread=False) @@ -61,6 +62,8 @@ def add_support_for_localization(): def initialize_trove(config_file): from trove.common import pastedeploy + root_logger.DefaultRootLogger() + cfg.CONF(args=[], project='trove', default_config_files=[config_file]) |