
- Enables the ability to monkey-patch eventlet during testing by setting OSLO_LOG_TEST_EVENTLET=1 in environment. - Fix deadlock running tests under eventlet monkey-patching - Enable new CI job which runs unit tests with evenlet monkey patching enabled. Change-Id: Ie9e012ac73bbfa8b5e6e0f610c11868466c7cf4b
6 lines
111 B
Python
6 lines
111 B
Python
import os
|
|
|
|
if os.environ.get("OSLO_LOG_TEST_EVENTLET") == "1":
|
|
import eventlet
|
|
eventlet.monkey_patch()
|