From eaf89a49fdc8774ea380133ac2da246cb93b3fe5 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Tue, 2 Jul 2019 14:22:19 +0000 Subject: [PATCH] Do not use privsep context when listing the namespaces in functional The aim of this patch is to speed up the namespace listing and avoid overloading the privsep daemon during the functional tests. Change-Id: Icd1de10a3a58d2c46d5400db95c2cd84809d6221 Related-Bug: #1833717 Related-Bug: #1811515 --- neutron/tests/functional/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/neutron/tests/functional/base.py b/neutron/tests/functional/base.py index a2cfab036b9..409ba37fe29 100644 --- a/neutron/tests/functional/base.py +++ b/neutron/tests/functional/base.py @@ -48,6 +48,7 @@ class BaseLoggingTestCase(base.BaseTestCase): warnings.simplefilter("ignore") base.setup_test_logging( cfg.CONF, DEFAULT_LOG_DIR, "%s.txt" % self.id()) + cfg.CONF.set_override('use_helper_for_ns_read', False, group='AGENT') class BaseSudoTestCase(BaseLoggingTestCase):