Fix a comment in a notification functional test
In NotificationSampleTestBase class, a compute service is started by the following statement. self.compute = self.start_service('compute') In this case, the host name is 'compute'. So fix a comment in the test_live_migration_actions method of TestInstanceNotificationSampleWithMultipleCompute class. TrivialFix Change-Id: Id3a5c0fd80d272b763350731b77db01ab98ea94b
This commit is contained in:
parent
5de8969ffe
commit
b8f91c7d49
|
@ -47,7 +47,7 @@ class TestInstanceNotificationSampleWithMultipleCompute(
|
|||
extra_params={'networks': [{'port': self.neutron.port_1['id']}]})
|
||||
self._wait_for_notification('instance.create.end')
|
||||
self._attach_volume_to_server(server, self.cinder.SWAP_OLD_VOL)
|
||||
# server will boot on host1
|
||||
# server will boot on the 'compute' host
|
||||
fake.set_nodes(['host2'])
|
||||
self.addCleanup(fake.restore_nodes)
|
||||
self.compute2 = self.start_service('compute', host='host2')
|
||||
|
|
Loading…
Reference in New Issue