From 84bf198cbbb88a51d23da04df43206869e97ab6a Mon Sep 17 00:00:00 2001 From: Troy Toman Date: Fri, 13 Jul 2012 17:22:23 -0500 Subject: [PATCH] bug 1024557 De-dupes the list of DNS IPs that is put in the xenstore for network configuration Added a duplicate DNS IP in the fake_network to create a valid test. Change-Id: I25a00c7e47578b1667992aa4bad879667198465a --- nova/tests/test_xenapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index f05ea9e5..e1e36041 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -435,7 +435,7 @@ class XenAPIVMTestCase(stubs.XenAPITestBase): tcpip_data = ast.literal_eval(xenstore_value) self.assertEquals(tcpip_data, {'broadcast': '192.168.1.255', - 'dns': ['192.168.1.3', '192.168.1.4'], + 'dns': ['192.168.1.4', '192.168.1.3'], 'gateway': '192.168.1.1', 'gateway_v6': 'fe80::def', 'ip6s': [{'enabled': '1',