From abc9a0d5df70ee00ba38e655a4d88ae18417f0e3 Mon Sep 17 00:00:00 2001 From: Chris Behrens Date: Thu, 10 Jan 2013 08:58:21 +0000 Subject: Update instance's cell_name in API cell. It was accidentally being removed before updating the DB due to code being moved and not updated. The test for the method was broken, too, allowing this bug to sneak in. Fixes bug 1098093 Change-Id: I05c00b8b100568b39afb8ee0ca7ee94d4dd97c0a --- nova/tests/cells/test_cells_messaging.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nova/tests') diff --git a/nova/tests/cells/test_cells_messaging.py b/nova/tests/cells/test_cells_messaging.py index a5810fb21..9973716f6 100644 --- a/nova/tests/cells/test_cells_messaging.py +++ b/nova/tests/cells/test_cells_messaging.py @@ -794,7 +794,9 @@ class CellsBroadcastMethodsTestCase(test.TestCase): expected_sys_metadata = {'key1': 'value1', 'key2': 'value2'} expected_info_cache = {'other': 'moo'} + expected_cell_name = 'api-cell!child-cell2!grandchild-cell1' expected_instance = {'system_metadata': expected_sys_metadata, + 'cell_name': expected_cell_name, 'other': 'meow', 'uuid': 'fake_uuid'} -- cgit