neutron/neutron/tests
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
..
common Fix stopping timer in TestTimer 2021-01-19 13:43:58 +01:00
contrib Support remote address group in SG rules 2020-11-25 10:34:02 -06:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack [fullstack] Be able to delete port when fake VM is destroyed 2021-01-13 16:40:41 +00:00
functional Merge "[FT] Wait for the "neutron-keepalived-state-change" init message" 2021-01-18 15:55:36 +00:00
unit Merge "In OVO PortForwarding, retrieve FIP info from db_obj" 2021-01-18 15:55:21 +00:00
var
__init__.py
base.py Suppress deprecation warnings in policy enforer 2021-01-12 19:18:51 +00:00
post_mortem_debug.py
tools.py Add port NUMA affinity policy 2020-11-13 15:49:34 +00:00