Fix 'Length too long' error in neutron-dsvm-functional tests

testr is occasionally failing with 'Length too long' for
neutron-dsvm-functional test cases.

The issue is seen when the size of the testr log file size goes into MBs.

(Please see the bug comments for the details on the testr logs)

This patch fixes the issue by disabling debug logs in the tests.

Change-Id: I48fc9d14f6886f86761038ee4d106fbbe59b6890
Closes-bug: #1382579
This commit is contained in:
Numan Siddique 2014-10-25 16:29:52 +05:30
parent aad192a377
commit 722172eeb4
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class KeepalivedManagerTestCase(functional_base.BaseSudoTestCase,
self._configure()
def _configure(self):
cfg.CONF.set_override('debug', True)
cfg.CONF.set_override('debug', False)
config.setup_logging()
config.register_root_helper(cfg.CONF)
cfg.CONF.set_override('root_helper', self.root_helper, group='AGENT')

View File

@ -40,7 +40,7 @@ class L3AgentTestFramework(base.BaseOVSLinuxTestCase):
def _configure(self):
l3_agent._register_opts(cfg.CONF)
cfg.CONF.set_override('debug', True)
cfg.CONF.set_override('debug', False)
config.setup_logging()
cfg.CONF.set_override(
'interface_driver',