Added network_info to unfilter_instance to avoid exceptions when shutting down instances

This commit is contained in:
Ryu Ishimoto
2011-07-22 22:12:15 +09:00
parent 5e9b8f5df4
commit e6765c5398

View File

@@ -828,7 +828,7 @@ class ComputeTestCase(test.TestCase):
for v in i_ref['volumes']:
self.compute.volume_manager.remove_compute_volume(c, v['id'])
self.mox.StubOutWithMock(self.compute.driver, 'unfilter_instance')
self.compute.driver.unfilter_instance(i_ref)
self.compute.driver.unfilter_instance(i_ref, network_info=[])
# executing
self.mox.ReplayAll()