From 722172eeb499bf1208e440b773c609b40449673e Mon Sep 17 00:00:00 2001 From: Numan Siddique Date: Sat, 25 Oct 2014 16:29:52 +0530 Subject: [PATCH] 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 --- neutron/tests/functional/agent/linux/test_keepalived.py | 2 +- neutron/tests/functional/agent/test_l3_agent.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neutron/tests/functional/agent/linux/test_keepalived.py b/neutron/tests/functional/agent/linux/test_keepalived.py index 79182671af..9cd5e95c5e 100644 --- a/neutron/tests/functional/agent/linux/test_keepalived.py +++ b/neutron/tests/functional/agent/linux/test_keepalived.py @@ -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') diff --git a/neutron/tests/functional/agent/test_l3_agent.py b/neutron/tests/functional/agent/test_l3_agent.py index 068e01c5b5..24c9de94f9 100644 --- a/neutron/tests/functional/agent/test_l3_agent.py +++ b/neutron/tests/functional/agent/test_l3_agent.py @@ -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',