commit f59b6a470620eaf53c98f4d98801789c95ed9a26
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
Reviewed: https:/ /review. opendev. org/675556 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=f59b6a47062 0eaf53c98f4d988 01789c95ed9a26
Committed: https:/
Submitter: Zuul
Branch: master
commit f59b6a470620eaf 53c98f4d9880178 9c95ed9a26
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
Closes-Bug: #1839595