#34825: SQLite database files are not destroyed after tests
-------------------------------------+-------------------------------------
Reporter: Jacob Walls | Owner: David
| Sanders
Type: Bug | Status: assigned
Component: Testing framework | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):
Thank you everyone, I was able to reproduce with this diff:
{{{#!diff
diff --git a/tests/runtests.py b/tests/runtests.py
index 2eb7490170..ad63e6a286 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -744,6 +744,7 @@ if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test_sqlite")
options.settings = os.environ["DJANGO_SETTINGS_MODULE"]
+ multiprocessing.set_start_method("spawn")
if options.selenium:
if multiprocessing.get_start_method() == "spawn" and
options.parallel != 1:
parser.error(
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34825#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018a8578bbff-5edad234-3b68-47c3-97e6-68d56693e9e0-000000%40eu-central-1.amazonses.com.