Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Add a shutdown hook to delete extracted files - #141

Open
footaku wants to merge 5 commits into
yandex-qatools:masterfrom
footaku:issue-113
Open

Add a shutdown hook to delete extracted files#141
footaku wants to merge 5 commits into
yandex-qatools:masterfrom
footaku:issue-113

Conversation

@footaku

@footaku footaku commented Aug 24, 2018

Copy link
Copy Markdown

I tried to fix #113

postgresql-embedded leave directory in temporary space.
This is because of  sequence sometimes does not called when process is killed.
So, I want to add a cleaner to shutdown hook.

@smecsia smecsia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My feeling is that when you cannot avoid Powermock usage, it's kind of an issue.

@footaku

footaku commented Oct 29, 2018

Copy link
Copy Markdown
Author

Thank you for your confirmation. I try to solve.

@bwilliamsTravelex

Copy link
Copy Markdown

Is this ticket due to be merged? @smecsia we are having issues with this and it looks like there is no merge in sight

@AleksanderBrzozowski

AleksanderBrzozowski commented Dec 31, 2018

Copy link
Copy Markdown

+1 here.
Every test execution adds about 100MB in java tmp dir. As a workaround we need to delete folder manually - it should be supported by library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default temp directory not deleted on exit

4 participants