fullstack: Log testrunner again

Commit 546ba377db removed logging of
testrunner, this patch adds it back.

Closes-Bug: 1603363
Change-Id: I6075c903b4d233629224b77425b8fb5e793608ce
This commit is contained in:
Jakub Libosvar 2016-07-15 05:26:05 -04:00
parent 2f29a5db3c
commit fcb1ccf823

View File

@ -16,6 +16,7 @@ import os
from oslo_config import cfg from oslo_config import cfg
from neutron.tests import base as tests_base
from neutron.tests.common import helpers from neutron.tests.common import helpers
from neutron.tests.fullstack.resources import client as client_resource from neutron.tests.fullstack.resources import client as client_resource
from neutron.tests import tools from neutron.tests import tools
@ -36,6 +37,9 @@ class BaseFullStackTestCase(testlib_api.MySQLTestCaseMixin,
def setUp(self, environment): def setUp(self, environment):
super(BaseFullStackTestCase, self).setUp() super(BaseFullStackTestCase, self).setUp()
tests_base.setup_test_logging(
cfg.CONF, DEFAULT_LOG_DIR, '%s.txt' % self.get_name())
# NOTE(zzzeek): the opportunistic DB fixtures have built for # NOTE(zzzeek): the opportunistic DB fixtures have built for
# us a per-test (or per-process) database. Set the URL of this # us a per-test (or per-process) database. Set the URL of this
# database in CONF as the full stack tests need to actually run a # database in CONF as the full stack tests need to actually run a