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
This commit is contained in:
Rodolfo Alonso Hernandez 2019-07-02 14:22:19 +00:00
parent 771a2a191c
commit eaf89a49fd
1 changed files with 1 additions and 0 deletions

View File

@ -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):