commit 750a8e8327388225f9bea549a7de61741739e937
Author: Bernard Cafarelli <email address hidden>
Date: Fri Aug 9 10:26:13 2019 +0200
Fix sort issue in test_dhcp_agent_scheduler.test_filter_bindings
The test creates a list of networks, and then acts on a list of
NetworkDhcpAgentBindings obtained from get_objects() not guaranteed to
follow the original build order (based on the network_ids list)
Make sure that returned list is sorted on network_id, and network_ids
itself sorted so both lists match
Change-Id: I9b07255988f7ba6609af1961b3429c3ce12d5186
Closes-Bug: #1839595
(cherry picked from commit f59b6a470620eaf53c98f4d98801789c95ed9a26)
Reviewed: https:/ /review. opendev. org/675839 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=750a8e83273 88225f9bea549a7 de61741739e937
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 750a8e832738822 5f9bea549a7de61 741739e937
Author: Bernard Cafarelli <email address hidden>
Date: Fri Aug 9 10:26:13 2019 +0200
Fix sort issue in test_dhcp_ agent_scheduler .test_filter_ bindings
The test creates a list of networks, and then acts on a list of AgentBindings obtained from get_objects() not guaranteed to
NetworkDhcp
follow the original build order (based on the network_ids list)
Make sure that returned list is sorted on network_id, and network_ids
itself sorted so both lists match
Change-Id: I9b07255988f7ba 6609af1961b3429 c3ce12d5186 53c98f4d9880178 9c95ed9a26)
Closes-Bug: #1839595
(cherry picked from commit f59b6a470620eaf