diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-02 06:30:56 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-11-02 06:57:26 -0400 |
commit | 5a6e090cf98e65050c372e0e4a58d42b8ced54f6 (patch) | |
tree | a1719691f81cc47a743c7995c3461538a5551a4f /tests/gold | |
parent | 75cd551a5200c97a08029abb5ad4c6d62141a328 (diff) | |
download | python-coveragepy-git-5a6e090cf98e65050c372e0e4a58d42b8ced54f6.tar.gz |
test: force VirtualenvTest onto one worker to save time
VirtualenvTest is slow because it has a session-scoped fixture that takes 10s to
run. If all of those tests go to the same worker, we can reuse that fixture. If
they go to different workers, we have to spend that time more than once.
This is a hack which seems to work, but no guarantees into the future. Also, I
don't know why the VirtualenvTests aren't run first on their worker.
Time saved: about 10%, from ~50s to ~45s.
Diffstat (limited to 'tests/gold')
0 files changed, 0 insertions, 0 deletions