mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 01:16:10 +00:00
test: process tests run outside the --parallel pool
The pool workers were made non-daemonic so the operations process tests could start workers, but a terminated pool (Ctrl-C, --failfast) left those workers running. The test runner now keeps the test cases tagged "processes" out of the pool and runs them in the main process after it. A WAL that cannot be written back before cloning now stops the run instead of giving clones without tables. One CI leg runs the suite with --parallel.
This commit is contained in:
parent
49223bb2c4
commit
7d749253c4
4 changed files with 20 additions and 17 deletions
|
|
@ -178,7 +178,7 @@ LOGIN_URL = "/accounts/login/"
|
|||
if sys.argv[1:2] == ["test"]:
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
|
||||
# --parallel on SQLite (WAL) and with the process tests
|
||||
# manage.py test --parallel on SQLite (WAL)
|
||||
TEST_RUNNER = "webvirtcloud.test_runner.TestRunner"
|
||||
|
||||
# Failed logins (django-axes): a user is locked for the address the logins
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue