Support database cloning to allow Django tests to use the `--parallel` flag
pedantic-curmudgeon opened this issue · 1 comments
Is your feature request related to a problem? If so, please give a short summary of the problem and how the feature would resolve it
The following NotImplementedError
is raised when trying to run Django tests using the --parallel
flag when using mssql-django
:
NotImplementedError: The database backend doesn't support cloning databases. Disable the option to run tests in parallel processes.
This prevents tests from executing in parallel and increases the time it takes for tests to run as they must all run in sequence.
Adding support to mssql-django
would resolve the NotImplementedError
.
Describe the preferred solution
It would be extremely helpful if mssql-django
added support for cloning databases so the --parallel
flag could be used when running Django tests.
Describe alternatives you've considered
Switching to a different database platform which already has support for the Django parallel testing functionality.
Additional context
N/A
Reference Documentations/Specifications
Thanks in advance for any additional context or information on this topic!
This would definitely be useful! We will investigate the scope of work and get back to you. Thank you for the suggestion