Changes between Initial Version and Version 1 of Ticket #37077
- Timestamp:
- Apr 29, 2026, 3:57:29 PM (3 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37077
- Property Component Database layer (models, ORM) → Testing framework
- Property Type Uncategorized → Bug
-
Ticket #37077 – Description
initial v1 1 1 In a very specific situation, the test runner skips running tests, and just terminates (successfully). Instead of running the tests, the database is set up, cloned for each process, then destroyed without running any tests. This is related to the changes from #35967 2 2 3 With a `TransactionTestCase` with `serialized_rollback=True`, and a project with multiple `DATABASES` where one is a mirror of the other, where both connections are needed for the test (eg `databases = "__all__" ). If a `TransactionTestCase` isn't going to be run, this behaviour isn't seen.3 With a `TransactionTestCase` with `serialized_rollback=True`, and a project with multiple `DATABASES` where one is a mirror of the other, where both connections are needed for the test (eg `databases = "__all__"`). If a `TransactionTestCase` isn't going to be run, this behaviour isn't seen. 4 4 5 5 The cause is that in `ParallelTestSuite.initialize_suite`, an `AttributeError` is raised when accessing `connections[alias]._test_serialized_contents`, because contents is never set.