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
2016-06-28 22:46:19 +02:00
2021-01-03 20:53:01 +09:00
2021-01-19 13:43:58 +01:00
2020-08-26 10:09:28 +01:00
2016-10-17 17:06:19 +05:30
2019-04-19 19:38:27 +00:00
2014-05-16 13:40:04 -04:00
2020-07-28 16:55:52 +00:00
2020-07-28 16:55:52 +00:00
2020-11-13 15:49:34 +00:00
2017-03-04 11:19:58 +00:00
2020-12-17 11:32:03 +01:00

OpenStack Neutron

image

Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute, please read the CONTRIBUTING.rst file.

Description
OpenStack Networking (Neutron)
Readme 1,023 MiB
Languages
Python 99.7%
Shell 0.3%