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:
parent
da8979b10f
commit
ecce1f64f7
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue