Two instances of the test suite cannot be run concurrently.

Bug #987379 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Low
Raphaël Badin

Bug Description

Django generates a fixed name (
https://docs.djangoproject.com/en/dev/topics/testing/#the-test-database) for the test database. It is generated by adding a prefix ('test_') to the NAME of the default database defined in the settings (DATABASES['default']['NAME']). This prevents many instances of the test suite from being run concurrently.

Tags: tech-debt
description: updated
tags: added: tech-debt
Revision history for this message
Raphaël Badin (rvb) wrote :

In fact since we create a local database for each instance, this should not be a problem to run multiple instances of the test suite provided they are run not from the same working tree.

Changed in maas:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.