Browse Source

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
tags/2015.1.0b1
Numan Siddique 4 years ago
parent
commit
f0582e2cd1

+ 1
- 1
neutron/tests/functional/agent/linux/test_keepalived.py View File

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

+ 1
- 1
neutron/tests/functional/agent/test_l3_agent.py View File

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

Loading…
Cancel
Save