Set test timout to 300 seconds

This prevents tests from hanging indefinitely, which we
are seeing in the trigger crash dump tests, which are
also skipped in this patch.

Partial-Bug: #1675526

Change-Id: If4858040187834ccdebb3f83bfbfa14d5d3251fc
This commit is contained in:
Sean Dague 2017-03-23 12:28:11 -04:00 committed by Matt Riedemann
parent db55f563ad
commit 79fd13f000
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,7 @@
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} ${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./novaclient/tests/unit} $LISTOPT $IDOPTION
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-300} \
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./novaclient/tests/unit} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -12,10 +12,13 @@
import time
from tempest.lib import decorators
from novaclient.tests.functional import base
from novaclient.v2 import shell
@decorators.skip_because(bug="1675526")
class TestTriggerCrashDumpNovaClientV217(base.TenantTestBase):
"""Functional tests for trigger crash dump"""