commit | c3adc64e446dd8de1a41a1e835f2419a43591243 | [log] [tgz] |
---|---|---|
author | Michael Johnson <johnsomor@gmail.com> | Tue Jun 21 18:47:05 2022 +0000 |
committer | Erik Olof Gunnar Andersson <eandersson@blizzard.com> | Mon Jul 31 15:39:00 2023 +0000 |
tree | 16a3c4308be3b0f65c495d2f5e60d07c8fa90b63 | |
parent | fe6e065ccf08b67ec4ddd7f41add17c64811c555 [diff] |
Fix test_pool sorted list assertion failures Some of the tests expect to be able to sort on the pool NS record priority. However, the rand_ns_records fake data generator can create NS records with equal priority which leads to undefined sort orders and ultimately invalid test failures.[2] This patch makes sure the fake ns records created for tests never have equal priority values. [2] https://zuul.opendev.org/t/openstack/build/69325d93f36042f390b4301cfadd3aa8/log/job-output.txt#21738 Change-Id: Ic04d1fe093dee54da64ccb238e9650ad5fc47eb8