diff options
| author | Ryu Ishimoto <ryu@midokura.jp> | 2011-07-22 22:12:15 +0900 |
|---|---|---|
| committer | Ryu Ishimoto <ryu@midokura.jp> | 2011-07-22 22:12:15 +0900 |
| commit | 93ffbbb234df486a1adb558a5228a7f23ea3451b (patch) | |
| tree | 5cb702f562cf9b311e51b7db30789de9770095ee /nova/tests | |
| parent | 0880f170318cfa5d12b10e237f641b27c646c8b2 (diff) | |
Added network_info to unfilter_instance to avoid exceptions when shutting down instances
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/test_compute.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/test_compute.py b/nova/tests/test_compute.py index 42520c9a6..b80813220 100644 --- a/nova/tests/test_compute.py +++ b/nova/tests/test_compute.py @@ -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() |
