Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Implementing test parallelisation #31

Open
doublevcodes opened this issue Nov 20, 2021 · 1 comment
Open

Implementing test parallelisation #31

doublevcodes opened this issue Nov 20, 2021 · 1 comment
Assignees

Comments

@doublevcodes
Copy link

doublevcodes commented Nov 20, 2021

What we want

We would like to consider parallelising the execution of tests.

How do we do it

This can be done with pytest-xdist

What problems do we face

  • We might need to change how the database is created. For example, creating a new database for each worker
@D0rs4n
Copy link
Member

D0rs4n commented Nov 20, 2021

My proposal is to just simply create test databases using worker ids (see the docs) I have already added the logic to my PR that could be modified.
(We're talking about a fairly easy modification)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants