Skip to content

DataStore needs to be Closeable #2

@politeRaccoon

Description

@politeRaccoon

Unit tests that create DistanceTree's backed by DuckDbStores cannot clean up after themselves.

You get a java.nio.file.FileSystemException when deleting the disttree_database.db file: "The Process cannot access the file because it is being used by another process"

In other words, the unit test's clean-up thread failed to clean up because DuckDb's connection was not closed.

Metadata

Metadata

Assignees

No one assigned

    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