This fixes the neutron.tests.unit.test_linux_dhcp.TestDnsmasq
.test_existing_dhcp_networks unit test that breaks with a
randomized PYTHONHASHSEED (see the bug report).
The test assumed that the network_uuid's list was sorted, so sort
the result before comparing.
Note: There are several other unrelated unit tests that also break with a
randomized PYTHONHASHSEED, but they are not addressed here. They will be
addressed in separate patches.
Reviewed: https:/ /review. openstack. org/111822 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=31783e2eae3 39e79225f379ace 948a0bb6c157f7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 31783e2eae339e7 9225f379ace948a 0bb6c157f7
Author: Pritesh Kothari <email address hidden>
Date: Mon Aug 4 13:37:56 2014 -0700
Do not assume order of network_uuid's
This fixes the neutron. tests.unit. test_linux_ dhcp.TestDnsmas q existing_ dhcp_networks unit test that breaks with a
.test_
randomized PYTHONHASHSEED (see the bug report).
The test assumed that the network_uuid's list was sorted, so sort
the result before comparing.
Note: There are several other unrelated unit tests that also break with a
randomized PYTHONHASHSEED, but they are not addressed here. They will be
addressed in separate patches.
Partial-bug: #1348818 7164b841beebb4e fcf31ff2625
Change-Id: Ia6f742e1fae068