https://github.com/PowerDNS/pdns/pull/10056 expands auth API testing to Postgres, MySQL and LMDB (besides the SQLite3 that was always tested). In this testing, some random failures popped up, apparently around the ordering of some results.
To counter that, five calls to self.assertEquals were replaced with self.assertCountEqual.
Ideally, API output would be consistent. I suspect a bit of sorting here and there would go a long way.
Once the API is improved like that, we should revert those five calls.
https://github.com/PowerDNS/pdns/pull/10056 expands auth API testing to Postgres, MySQL and LMDB (besides the SQLite3 that was always tested). In this testing, some random failures popped up, apparently around the ordering of some results.
To counter that, five calls to
self.assertEquals
were replaced withself.assertCountEqual
.Ideally, API output would be consistent. I suspect a bit of sorting here and there would go a long way.
Once the API is improved like that, we should revert those five calls.