Skip to content

Test db wasn't deleted after tests with key --db_name #1

@cassiopeia92

Description

@cassiopeia92

I use --db_name for using constant name of my test db. In this case db isn't deleted in the end (I don't use -k)
$ db_test -d db:folder_db -t folder_db/tests/regress/ -h host -p port -U user --db_name db_test
In the end I see

DB disconnecting db_test
Droping db db_test

But database "db_test" wasn't deleted. I execute the first command again, and see an error
asyncpg.exceptions.DuplicateObjectError: extension "btree_gist" already exists
Could you fix it please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions