Fixed _log_console_output call on failure

_log_console_output is defined in tempest.scenario.manager.Manager but
the test class inherited from BaseTestCase that doesn't have it. So
whenever a test failure occurs, we don't log console output, which may
be handy when debugging gate issues.

Change-Id: I48701da8714c9e483401fd1ba987e4f2bef5bd23
Related-Bug: #1742936
This commit is contained in:
Ihar Hrachyshka 2018-01-18 13:32:05 -08:00
parent da8979b10f
commit ecce1f64f7
1 changed files with 2 additions and 2 deletions

View File

@ -25,14 +25,14 @@ from tempest import exceptions
from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions as lib_exc
import tempest.test
from tempest.scenario import manager
CONF = config.CONF
LOG = log.getLogger(__name__)
class ScenarioTest(tempest.test.BaseTestCase):
class ScenarioTest(manager.ScenarioTest):
"""Base class for scenario tests. Uses tempest own clients. """
credentials = ['primary']