[Functional] Increase test_timeout for db migration tests

Patch [1] increased timeouts for test_walk_version functional tests
for MySQL backend to 300 seconds to avoid failures due to timeouts.

Unfortunately it looks that on nodes from some cloud providers used
in the gate and with number of migration scripts which we have in
Neutron those tests can take sometimes even around 400 seconds.

So lets increase this to 600 seconds to avoid such failures of
functional tests job.

[1] https://review.openstack.org/#/c/610003/

Change-Id: I9d129f0e90a072ec980aadabb2c6b812c08e1618
Closes-Bug: #1687027
(cherry picked from commit c39afbd5fc)
This commit is contained in:
Slawek Kaplonski 2018-10-22 22:58:48 +02:00
parent 4affa2b940
commit 6a9450b203
1 changed files with 1 additions and 1 deletions

View File

@ -573,7 +573,7 @@ class TestWalkMigrationsMysql(testlib_api.MySQLTestCaseMixin,
# secs having Mitaka set of migrations. 'pymysql' works much slower
# on slow nodes than 'psycopg2' and because of that this increased
# timeout is required only when for testing with 'mysql' backend.
@test_base.set_timeout(300)
@test_base.set_timeout(600)
def test_walk_versions(self):
super(TestWalkMigrationsMysql, self).test_walk_versions()