Skip to content

[Bug] Unit tests inconsistently fail due to database after v1.7.0 #355

@manning-ncsa

Description

@manning-ncsa

After migrating from MariaDB to PostgreSQL in v1.7.0, the unit tests inconsistently fail with the following error about the temporary test database being in use when the Django test system is attempting to drop the database:

django.db.utils.OperationalError: database "test_blast_db" is being accessed by other users
DETAIL:  There is 1 other session using the database.

This is seen (sometimes) when running the unit test using the Compose config:

$ bash run/blastctl full_dev up

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions