Browse Source

Turn off test log capture for now

We're hitting memory pressure test failures on test nodes.
Hypothesis is that we've got things logging too much and buffering
to RAM. While we track that down, turn off auto-logging.

Change-Id: Ie124f8dbd18600508a4a99ef91a5e0f5df00093c
tags/0.46.0
Monty Taylor 3 months ago
parent
commit
e7237b468f
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      openstack/tests/base.py
  2. +1
    -1
      tox.ini

+ 2
- 1
openstack/tests/base.py View File

@@ -71,8 +71,9 @@ class TestCase(base.BaseTestCase):
logger.addHandler(handler)

# Enable HTTP level tracing
# TODO(mordred) This is blowing out our memory we think
logger = logging.getLogger('keystoneauth')
logger.setLevel(logging.DEBUG)
logger.setLevel(logging.INFO)
logger.addHandler(handler)
logger.propagate = False



+ 1
- 1
tox.ini View File

@@ -14,7 +14,7 @@ setenv =
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:false}
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}
deps =


Loading…
Cancel
Save