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

Add a shutdown hook to delete extracted files #141

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

footaku
Copy link

@footaku footaku commented Aug 24, 2018

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.
Copy link
Member

@smecsia smecsia left a comment

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
Copy link
Author

footaku commented Oct 29, 2018

Thank you for your confirmation. I try to solve.

@bwilliamsTravelex
Copy link

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
Copy link

AleksanderBrzozowski commented Dec 31, 2018

+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