Skip to content
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

Make unit test use its own folder not /tmp #107

Open
marco-foscato opened this issue Nov 14, 2022 · 1 comment
Open

Make unit test use its own folder not /tmp #107

marco-foscato opened this issue Nov 14, 2022 · 1 comment
Assignees

Comments

@marco-foscato
Copy link
Member

This block

String tmpFile = FileUtils.getTempFolder()
should use the folder created specifically for the unit test (see ) as to avoid conflicts with existing files.

@marcellocostamagna
Copy link
Collaborator

I solved the issue (creating a new branch called devel_tempFile) in this way:

String tmpFile = tempDir.getAbsolutePath() + SEP + "frags.sdf";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants