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.
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.dbfile: "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.