You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2020. It is now read-only.
Deletes the file or directory denoted by this abstract pathname. If this pathname denotes a directory, then the directory must be empty in order to be deleted
I expect the temp dir and its content to be deleted on exit. Am I wrong?
The text was updated successfully, but these errors were encountered:
Hi @jeremiehuchet . Looks like it is a bug in EmbeddedPostgres class, which is removing data only. Another issue is that by default it uses CachedPostgresArtifactStore which does not remove artifacts intentionally (to optimize the extracted artifacts usage).
I'll think about the proper way of solving this issue. You can now remove the directory manually as a workaround.
The default directory where the postgres binary is extracted is not deleted on exit despite of the following line:
postgresql-embedded/src/main/java/ru/yandex/qatools/embed/postgresql/ext/SubdirTempDir.java
Line 27 in a47e90f
File#deleteOnExit() documentation refers to File#delete() and the latter says:
I expect the temp dir and its content to be deleted on exit. Am I wrong?
The text was updated successfully, but these errors were encountered: