diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-22 14:33:36 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2021-04-22 14:33:36 -0400 |
commit | f4e93067a116b748242e62eb524b2a87490ec18c (patch) | |
tree | a05980c895a8ec66c89ab1adadf62460bf12f95d /lib/sqlalchemy/orm/attributes.py | |
parent | 72f43a8b49803cd4d4befe91635f6691965f34fb (diff) | |
download | sqlalchemy-f4e93067a116b748242e62eb524b2a87490ec18c.tar.gz |
Ensure sparse backend selection sorts on driver also
Because we have --dbdriver now, we usually have
lots of db drivers queued up which affect the selection
of backend tests. the sort in possible_configs_for_cls()
is used so that when we are only picking some backends
due to the sparse flag, we get the same answer each time
otherwise pytest-xdist raises an error if two workers
have different tests.
adding the sort for driver fixes an issue on jenkins
master build where the memusage test run frequently failed
due to mismatched test collection.
Change-Id: I8584c1a3a4e5b759c0e5a2602a93432d9cc8168d
Diffstat (limited to 'lib/sqlalchemy/orm/attributes.py')
0 files changed, 0 insertions, 0 deletions