Do not setup conductor in BaseAPITestCase
It's not used in any of the tests and the BaseAPITestCase has no subclasses. This is being done to minimize any extraneous use of eventlet driven services in the tests. In forthcoming patches, eventlet monkey patching will be removed from the unit test tree. Change-Id: I3d2dd128027e90a0c6f26ad2e300afc3bd6d76fe
This commit is contained in:
parent
ae4b5d0147
commit
8123f044ef
@ -35,7 +35,6 @@ class BaseAPITestCase(test.TestCase):
|
|||||||
self.project_id = 'fake'
|
self.project_id = 'fake'
|
||||||
self.context = context.RequestContext(self.user_id,
|
self.context = context.RequestContext(self.user_id,
|
||||||
self.project_id)
|
self.project_id)
|
||||||
self.conductor = self.start_service('conductor')
|
|
||||||
self.compute = self.start_service('compute')
|
self.compute = self.start_service('compute')
|
||||||
self.base_rpcapi = baserpc.BaseAPI(compute_rpcapi.RPC_TOPIC)
|
self.base_rpcapi = baserpc.BaseAPI(compute_rpcapi.RPC_TOPIC)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user