neutron/neutron/tests/unit/scheduler
Eugene Nikanorov ae8c1c5f80 Catch broad exception in methods used in FixedIntervalLoopingCall
Unlike other places where it might make sense to catch specific
exceptions, methods that are used to check L3 and DHCP agents
liveness via FixedIntervalLoopingCall should never allow exceptions
to leak to calling method and interrupt the loop.

Further improvement of FixedIntervalLoopingCall might be needed,
but for the sake of easy backporting it makes sense to fix the issue
in neutron before pushing refactoring to 3rd-party library.

Change-Id: I6a61e99a6f4e445e26ea4a9923b47e35559e5703
Closes-Bug: #1458119
2015-06-03 03:42:30 +04:00
..
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
test_dhcp_agent_scheduler.py Catch broad exception in methods used in FixedIntervalLoopingCall 2015-06-03 03:42:30 +04:00
test_l3_agent_scheduler.py Get completely rid of contextlib.nested 2015-05-29 23:18:46 +02:00