tarpas / pytest-testmon

Selects tests affected by changed files. Executes the right tests first. Continuous test runner when used with pytest-watch.
https://testmon.org
MIT License
800 stars 54 forks source link

feat: add configuration option for connect timeout #222

Closed smitp closed 8 months ago

smitp commented 11 months ago

Related issue

sqlite3.connect

Default timeout 60s.

Database locking issues still occur with 60s timeout and >100MB sqlite database when xdist is running 16 workers. Add an option to specify timeout --testmon-connect-timeout

tarpas commented 8 months ago

I don't think this is the way to fix the problem because: