Comment 13 for bug 1350287

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.openstack.org/110606
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6589a36fbbdd4b0953683d0ba1a34679eb0a540d
Submitter: Jenkins
Branch: master

commit 6589a36fbbdd4b0953683d0ba1a34679eb0a540d
Author: Daniel P. Berrange <email address hidden>
Date: Wed Jul 30 12:02:27 2014 +0100

    tests: fix test_compute to have predictable service list

    The _create_service_entries() method in test_compute.py accepted
    a dict for the list of services. The tests would then pull out
    the first item in the list of keys of the dict. When the python
    hash seed is set to a random value the list of keys has no
    predictable ordering, causing the test suite to break. Changing
    the data structure to use a list of lists instead of a dict
    ensures strict ordering.

    Related-bug: #1350287
    Change-Id: I01a0d4cfb086eb94b49d25b65daf08e55e2087b4