neutron/neutron
Slawek Kaplonski c0fec67672 Add new test decorator skip_if_timeout
In some cases our db migration tests which run on MySQL are
failing with timeout and it happens due to slow VMs on which
job is running.
Sometimes it may also happen that timeout exception is raised
in the middle of some sqlalchemy operations and
sqlalchemy.InterfaceError is raised as last one.
Details about this exception can be found in [1].

To avoid many rechecks because of this reason this patch
introduces new decorator which is very similar to "unstable_test"
but will skip test only if one of exceptions mentioned above will
be raised.
In all other cases it will fail test.

That should be a bit more safe for us because we will not miss
some other failures raised in those tests and will avoid rechecks
because of this "well-known" reason described in related bug.

[1] http://sqlalche.me/e/rvf5

Change-Id: Ie291fda7d23a696aaa1160d126a3cf72b08c522f
Related-Bug: #1687027
2019-02-14 11:08:19 +01:00
..
agent Merge "Clear old rules that have been applied before applying new rules." 2019-02-10 13:31:44 +00:00
api remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
cmd Merge "Fix the way how upgrade checks are loaded" 2019-02-12 08:34:33 +00:00
common Remove redundant event listening logic from neutron/db/api 2019-02-09 12:58:37 -05:00
conf doc: Use DocumentedRuleDefault 2019-02-12 19:46:52 +09:00
core_extensions remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
db Merge "Remove redundant if condition check" 2019-02-12 16:36:47 +00:00
debug Fix all pep8 E265 errors 2018-04-30 16:35:52 -04:00
extensions remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
hacking use sqla functions from neutron-lib 2018-07-25 21:04:20 +00:00
ipam Merge "Update the processing of assigned addresses when assigning addresses" 2019-02-07 20:30:20 +00:00
locale Imported Translations from Zanata 2018-03-03 06:08:46 +00:00
notifiers Send global_request_id for tracing calls from neutron to nova 2018-11-30 05:41:24 +00:00
objects remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
pecan_wsgi remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
plugins Change common agent code to log message after failure 2019-02-12 19:54:02 +00:00
privileged remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
quota remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
scheduler Fetch specific columns rather than full ORM entities 2018-08-22 10:14:09 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Change Metering agent to log message after failure" 2019-02-07 20:12:48 +00:00
tests Add new test decorator skip_if_timeout 2019-02-14 11:08:19 +01:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Implement filter validation 2018-07-19 04:13:43 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py supported_vnic_type configurable for sriov 2018-11-05 11:40:13 +01:00
policy.py Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
service.py remove neutron.common.rpc 2019-02-06 11:05:55 -07:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00