Merge "Invoke monkey_patching early enough for eventlet 0.20.1"

This commit is contained in:
Jenkins 2017-03-17 15:49:56 +00:00 committed by Gerrit Code Review
commit 9de043acb0

View File

@ -34,6 +34,7 @@ import sys
import tempfile
import time
import eventlet
import fixtures
from oslo_serialization import jsonutils
# NOTE(jokke): simplified transition to py3, behaves like py2 xrange
@ -49,6 +50,8 @@ from glance.tests import utils as test_utils
execute, get_unused_port = test_utils.execute, test_utils.get_unused_port
tracecmd_osmap = {'Linux': 'strace', 'FreeBSD': 'truss'}
eventlet.patcher.monkey_patch()
class Server(object):
"""