Skip to content

Multi-process concurrency errors #2196

Answered by mdmintz
krypterro asked this question in Q&A
Discussion options

You must be logged in to vote

For large-scale production multithreading, pytest-xdist is so far the only reliable way to make it work (Eg. pytest -n8 for 8 SeleniumBase threads). That library contains some powerful code to keep resources from overlapping each other.

I talked about that here: #2006 (comment)

If I figured out a way to make massive multithreading with UC Mode work at scale reliably without requiring pytest, then I would definitely post something about it.

I do have a question for others: What's wrong with using pytest as a test runner? There shouldn't be any limitations with using it.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mdmintz
Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants