Merge "Remove unnecessary self.flags and ConfPatcher"
This commit is contained in:
commit
b9c35aea70
@ -46,7 +46,6 @@ class TestInstanceNotificationSampleWithMultipleCompute(
|
||||
# server will boot on host1
|
||||
fake.set_nodes(['host2'])
|
||||
self.addCleanup(fake.restore_nodes)
|
||||
self.useFixture(fixtures.ConfPatcher(host='host2'))
|
||||
self.compute2 = self.start_service('compute', host='host2')
|
||||
|
||||
actions = [
|
||||
|
@ -64,7 +64,6 @@ class TestSerialConsoleLiveMigrate(test.TestCase):
|
||||
self.flags(enabled=False, group="vnc")
|
||||
self.flags(enabled=False, group="spice")
|
||||
self.flags(use_usb_tablet=False, group="libvirt")
|
||||
self.flags(host="test_compute1")
|
||||
|
||||
self.start_service('conductor')
|
||||
self.start_service('scheduler')
|
||||
|
@ -1288,7 +1288,6 @@ class ProviderUsageBaseTestCase(test.TestCase,
|
||||
"""
|
||||
fake.set_nodes([host])
|
||||
self.addCleanup(fake.restore_nodes)
|
||||
self.flags(host=host)
|
||||
compute = self.start_service('compute', host=host)
|
||||
self.computes[host] = compute
|
||||
return compute
|
||||
@ -2830,8 +2829,6 @@ class ServerUnshelveSpawnFailTests(ProviderUsageBaseTestCase):
|
||||
def setUp(self):
|
||||
super(ServerUnshelveSpawnFailTests, self).setUp()
|
||||
# We only need one compute service/host/node for these tests.
|
||||
fake.set_nodes(['host1'])
|
||||
self.flags(host='host1')
|
||||
self.compute1 = self._start_compute('host1')
|
||||
|
||||
flavors = self.api.get_flavors()
|
||||
|
Loading…
Reference in New Issue
Block a user