neutron/neutron/tests/unit/sriovnicagent
Pritesh Kothari b0f68bb145 Do not assume order of pci slot list
This fixes the neutron.tests.unit.sriovnicagent.test_eswitch_manager
.TestEmbSwitch.test_get_pci_list unit test that breaks with a
randomized PYTHONHASHSEED (see the bug report).

The test assumed that the pci slot 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.

Change-Id: Ia2d879cc1251fb9cf9b653a41064e902b30005af
Partial-bug: #1348818
2014-08-07 16:41:57 +00:00
..
__init__.py ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2 2014-07-23 10:06:12 +03:00
test_eswitch_manager.py Do not assume order of pci slot list 2014-08-07 16:41:57 +00:00
test_pci_lib.py ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2 2014-07-23 10:06:12 +03:00
test_sriov_agent_config.py ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2 2014-07-23 10:06:12 +03:00
test_sriov_neutron_agent.py ML2 mechanism driver for SR-IOV capable NIC based switching, Part 2 2014-07-23 10:06:12 +03:00