Skip to content

test infrastructure deletes entire data dir after test #5815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
s1monw opened this issue Apr 15, 2014 · 0 comments · Fixed by #5816
Closed

test infrastructure deletes entire data dir after test #5815

s1monw opened this issue Apr 15, 2014 · 0 comments · Fixed by #5816
Labels
>test Issues or PRs that are addressing/adding tests v1.2.0 v2.0.0-beta1

Comments

@s1monw
Copy link
Contributor

s1monw commented Apr 15, 2014

@bleskes found a sneaky problem that our test infra deletes the entire data dir instead of just it's content. Yet this might not be a problem for 99.9% of our test but the clsuter stats sometimes fail since File#getTotalSpace() returns 0 as documented on the javadocs if the path doesn't point to a partition. We should only delete it's content but not the parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>test Issues or PRs that are addressing/adding tests v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant