Parallel test runner failure on Windows
2128a73713735fb794ca6565fd5d7792293f5cfa introduced a regression when running the test suite in parallel mode on Windows.
The traceback is long, here's a snippet.
Process SpawnPoolWorker-47:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1520.0_x64__qbz5n2kfra8p0\Lib\multiprocessing\pool.py", line 109, in worker
initializer(*initargs)
File "C:\Users\smith\projects\django\django\test\runner.py", line 442, in _init_worker
connection.creation.setup_worker_connection(_worker_id)
File "C:\Users\smith\projects\django\django\db\backends\sqlite3\creation.py", line 145, in setup_worker_connection
source_db = self.connection.Database.connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.OperationalError: unable to open database file
Process SpawnPoolWorker-48:
Change History
(8)
Cc: |
David Sanders added; David Sanders removed
|
Severity: |
Normal → Release blocker
|
Triage Stage: |
Unreviewed → Accepted
|
Version: |
4.2 → dev
|
Has patch: |
set
|
Owner: |
changed from nobody to David Sanders
|
Status: |
new → assigned
|
Patch needs improvement: |
set
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Patch needs improvement: |
unset
|
I guess we can revert 2128a73713735fb794ca6565fd5d7792293f5cfa.