summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrey Morris <trey.morris@rackspace.com>2011-09-07 16:06:35 -0500
committerTrey Morris <trey.morris@rackspace.com>2011-09-07 16:06:35 -0500
commit2bed69e61aefdc8e2aa7eeb31fe9f338e912a01d (patch)
treeb1c37e03a627350967a4fe4e76fbe1cee9aa1516
parent3334fabe55c862531e3ced21b211710857c1e087 (diff)
downloadnova-2bed69e61aefdc8e2aa7eeb31fe9f338e912a01d.tar.gz
nova-2bed69e61aefdc8e2aa7eeb31fe9f338e912a01d.tar.xz
nova-2bed69e61aefdc8e2aa7eeb31fe9f338e912a01d.zip
properly handle the id resetters
-rw-r--r--nova/tests/fake_network.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/tests/fake_network.py b/nova/tests/fake_network.py
index 5e536a6ee..1ecb99b31 100644
--- a/nova/tests/fake_network.py
+++ b/nova/tests/fake_network.py
@@ -143,6 +143,7 @@ def fake_get_instance_nw_info(stubs, num_networks=1, ips_per_vif=2,
network.db = db
# reset the fixed and floating ip generators
+ global floating_ip_id, fixed_ip_id
floating_ip_id = floating_ip_ids()
fixed_ip_id = fixed_ip_ids()