Comment 29 for bug 1348818

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/111822
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=31783e2eae339e79225f379ace948a0bb6c157f7
Submitter: Jenkins
Branch: master

commit 31783e2eae339e79225f379ace948a0bb6c157f7
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.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.

    Partial-bug: #1348818
    Change-Id: Ia6f742e1fae0687164b841beebb4efcf31ff2625