[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/611358 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f26eed66779 65de51fe8d88f97 50c1b6a5becce5
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit f26eed6677965de 51fe8d88f9750c1 b6a5becce5
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