neutron/neutron
Bodo Petermann 9676c28f9c Fix stopping timer in TestTimer
Fixes broken functional tests where NamespaceFixture is used and
the TestTimer raises TestTimerTimeout even if the namespace was cleaned
up in time.

The fix makes sure that the alarm is cancelled in __exit__ if there
was no alarm before TestTimer's __enter__ (if self._old_timer is 0).
It also makes sure to reset the signal handler if the old one was
Handler.SIG_DFL (which is treated as false, no we need to check for
"is not None" instead).

Closes-Bug: #1912320
Change-Id: I9efad8eb5fe6e794235280f8a9a026800513d969
2021-01-19 13:43:58 +01:00
..
agent Merge "[OVS] Fix live-migration connection disruption" 2021-01-18 13:39:24 +00:00
api Merge "Get sec group ids after address group update" 2021-01-09 02:00:45 +00:00
cmd Add script which can clean patch ports between bridges 2020-12-10 10:08:02 +00:00
common Merge "Update path of the ovn extensions doc" 2021-01-12 00:15:18 +00:00
conf [OVS] Fix live-migration connection disruption 2021-01-13 11:13:41 +00:00
core_extensions Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
db Merge "Extend address group notification data" 2021-01-19 03:02:41 +00:00
debug Fix neutron debug probe to use integration_bridge 2020-03-31 11:17:47 +00:00
extensions Merge "Add normalized_cidr column to SG rules" 2021-01-10 16:32:05 +00:00
hacking Remove "six" library 2020-07-28 16:55:52 +00:00
ipam Switch to new engine facade for IpamPluggableBackend and Ipam driver 2020-12-15 11:10:36 +00:00
locale Imported Translations from Zanata 2020-10-11 07:22:44 +00:00
notifiers [OVS] Fix live-migration connection disruption 2021-01-13 11:13:41 +00:00
objects In OVO PortForwarding, retrieve FIP info from db_obj 2021-01-16 00:06:49 +00:00
pecan_wsgi Log exception generated in Controller.prepare_request_body 2020-08-18 16:18:34 -03:00
plugins Merge "[OVS] Fix live-migration connection disruption" 2021-01-18 13:39:24 +00:00
privileged Implement "FdbInterface" with Pyroute2 2020-12-24 17:00:06 +00:00
profiling Remove "six" library 2020-07-28 16:55:52 +00:00
quota Remove "six" library 2020-07-28 16:55:52 +00:00
scheduler Finish the new DB engine facade migration 2020-11-24 09:20:35 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Merge "create or delete port forwarding, update the floating ip status" 2021-01-17 06:55:28 +00:00
tests Fix stopping timer in TestTimer 2021-01-19 13:43:58 +01:00
__init__.py Remove usage of six.PY2 2020-05-22 12:59:01 -04:00
_i18n.py
auth.py
manager.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
neutron_plugin_base_v2.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
opts.py Ensure XenAPI options are loaded 2021-01-03 20:53:01 +09:00
policy.py Suppress deprecation warnings in policy enforer 2021-01-12 19:18:51 +00:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py neutron-server api worker process should be named to their role 2021-01-11 08:28:32 +08:00