oslo.service/oslo_service/tests
Slawek Kaplonski 3e08f3375e Fix stop of loopingcall
Patch [1] for switched to use eventlet Event for loopingcall events.

It may now happen that stop event is sent when other event was
already sent and loopingcall is already not running.
That cause AssertionError in eventlet.event module.

To avoid that, we should check if if loopingcall is
running before sending _abort.set().

[1] https://review.openstack.org/#/c/611807/

Closes-Bug #1800879

Change-Id: I28ad3bdb51a20350c90dee4420058c30946897e5
2018-10-31 23:19:17 +01:00
..
ssl_cert Fixup certificates and skip failing test 2018-04-10 14:47:19 +00:00
__init__.py doing monkey_patch for unittest. 2015-09-15 11:13:49 +08:00
base.py Fix some reST field lists in docstrings 2017-03-22 13:24:21 +00:00
eventlet_service.py Ensure connection is active in graceful shutdown tests 2018-08-31 17:08:14 +00:00
test_eventlet_backdoor.py Replace 'MagicMock' with 'Mock' 2016-10-11 09:38:45 +08:00
test_loopingcall.py Fix stop of loopingcall 2018-10-31 23:19:17 +01:00
test_periodic.py Fix parameters of assertEqual are misplaced 2016-07-20 16:42:28 +08:00
test_service.py Ensure connection is active in graceful shutdown tests 2018-08-31 17:08:14 +00:00
test_sslutils.py Enable py3 mock.patch of RuntimeError 2015-12-09 11:02:47 -05:00
test_systemd.py Fix argument type for _sd_notify() on python3 2016-03-31 10:51:19 -06:00
test_threadgroup.py [ThreadGroup] Don't remove timer when stop timers 2018-05-09 00:54:54 +00:00
test_wsgi.py Remove moxstubout 2018-05-19 14:26:50 +00:00