Skip to content

Support database cloning to allow Django tests to use the --parallel flag #342

Open

Description

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

Django Documentation

Thanks in advance for any additional context or information on this topic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions