Opened 12 years ago
Closed 12 years ago
#20603 closed Cleanup/optimization (fixed)
Make the test suite even faster with available apps
Reported by: | Aymeric Augustin | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There's a few TestCases that run call_command('syncdb', ...). They would be much faster with a suitable value of available_apps.
As usual the idea is from Anssi: https://github.com/akaariai/django/commit/b101db2d5f738535aef18db73db2a156666346e3
Note:
See TracTickets
for help on using tickets.
The following hack helps locate culprits:
(Type
bt
whenever you enter pdb to check which test is running, thenc
to resume the tests.)