change ipv6 format to pass on postgresql
postgresql recently moved to storing ip addresses as native types.
The problem being that we send down some slightly unnatural looking
IPv6 strings, so when we return them our simple comparitors fail.
Converting this to a more IPv6 natural definition makes it pass with
postgresql.
Fixes bug #1101645
Change-Id: I282eb7e873d824e7c03923c2200bbe1e2d0bbada
diff --git a/tempest/tests/compute/servers/test_servers.py b/tempest/tests/compute/servers/test_servers.py
index 3566ef4..8054c1f 100644
--- a/tempest/tests/compute/servers/test_servers.py
+++ b/tempest/tests/compute/servers/test_servers.py
@@ -132,14 +132,14 @@
#Update the IPv4 and IPv6 access addresses
resp, body = self.client.update_server(server['id'],
accessIPv4='1.1.1.1',
- accessIPv6='::babe:2.2.2.2')
+ accessIPv6='::babe:202:202')
self.assertEqual(200, resp.status)
self.client.wait_for_server_status(server['id'], 'ACTIVE')
#Verify the access addresses have been updated
resp, server = self.client.get_server(server['id'])
self.assertEqual('1.1.1.1', server['accessIPv4'])
- self.assertEqual('::babe:2.2.2.2', server['accessIPv6'])
+ self.assertEqual('::babe:202:202', server['accessIPv6'])
#Teardown
finally: