]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fix 'Length too long' error in neutron-dsvm-functional tests
authorNuman Siddique <numan.siddique@enovance.com>
Sat, 25 Oct 2014 10:59:52 +0000 (16:29 +0530)
committerNuman Siddique <numan.siddique@enovance.com>
Sat, 25 Oct 2014 11:03:15 +0000 (16:33 +0530)
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
neutron/tests/functional/agent/test_l3_agent.py

index 79182671af97a48a3a3bfae44b9d74cc028733d6..9cd5e95c5e918a4955ce8c0918b7d0899c853b0a 100644 (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')
index 068e01c5b52f997dc27646568ab0e4e3dcab0623..24c9de94f93ea25b8ef16801641e85bd604a5b9b 100644 (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',