[Functional] Increase test_timeout for db migration tests
In Neutron we hit quite often same issue as Manila, see [1] for
details.
It looks that solution for this problem may be increase timeout
for test_walk_version functional tests.
Higher timeout will be applied for tests for both pgsql and mysql
backends but it is mostly needed for mysql because 'pymysql' works
much slower on slow nodes than 'psycopg2'
This patch adds also new decorator to set individual timeout for
tests.
Reviewed: https:/ /review. openstack. org/611360 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1cb8901b421 3648a7fec1978e9 8905c6eac8bcd9
Committed: https:/
Submitter: Zuul
Branch: stable/ocata
commit 1cb8901b4213648 a7fec1978e98905 c6eac8bcd9
Author: Slawek Kaplonski <email address hidden>
Date: Fri Oct 12 12:35:10 2018 +0200
[Functional] Increase test_timeout for db migration tests
In Neutron we hit quite often same issue as Manila, see [1] for
details.
It looks that solution for this problem may be increase timeout
for test_walk_version functional tests.
Higher timeout will be applied for tests for both pgsql and mysql
backends but it is mostly needed for mysql because 'pymysql' works
much slower on slow nodes than 'psycopg2'
This patch adds also new decorator to set individual timeout for
tests.
[1] https:/ /bugs.launchpad .net/manila/ +bug/1501272
Change-Id: I5f344af6dc3e5a 6ee5f52c250b6c7 19e1b43e02d c63399127cddd48 7dc0f15c38)
Closes-Bug: #1687027
(cherry picked from commit c2c37272bf788aa