From 8123f044ef6aae8bb2502a2289881b35b4b49329 Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Thu, 28 Sep 2017 12:19:46 +0100 Subject: [PATCH] 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 --- nova/tests/unit/test_baserpc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/nova/tests/unit/test_baserpc.py b/nova/tests/unit/test_baserpc.py index 89977e347a14..b0a8c64a9171 100644 --- a/nova/tests/unit/test_baserpc.py +++ b/nova/tests/unit/test_baserpc.py @@ -35,7 +35,6 @@ class BaseAPITestCase(test.TestCase): self.project_id = 'fake' self.context = context.RequestContext(self.user_id, self.project_id) - self.conductor = self.start_service('conductor') self.compute = self.start_service('compute') self.base_rpcapi = baserpc.BaseAPI(compute_rpcapi.RPC_TOPIC)