From f94391fb41b42909ae9508ed54316199fccfe41d Mon Sep 17 00:00:00 2001 From: Jian Wen Date: Wed, 29 Aug 2012 22:29:25 +0800 Subject: Add a new exception for live migration. Raises new exception InvalidLocalStorage instead of InvalidSharedStorage when block migration is used with shared storage. Corrects the message of InvalidSharedStorage. Fixes bug 1043165 Change-Id: I68bfac3f89276edc38c00ca963911fe07456dc0d --- nova/tests/test_libvirt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/tests') diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py index 885cf7e83..0932443cd 100644 --- a/nova/tests/test_libvirt.py +++ b/nova/tests/test_libvirt.py @@ -1762,7 +1762,7 @@ class LibvirtConnTestCase(test.TestCase): conn._check_shared_storage_test_file("file").AndReturn(True) self.mox.ReplayAll() - self.assertRaises(exception.InvalidSharedStorage, + self.assertRaises(exception.InvalidLocalStorage, conn.check_can_live_migrate_source, self.context, instance_ref, dest_check_data) -- cgit