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

multi: Use temp directories for database tests. #1404

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Aug 16, 2018

This modifies the various tests that create temporary databases to make use of ioutil.TempDir instead of a relative directory path. This allows the tests to be run from any path without failure.

@davecgh davecgh added this to the 1.4.0 milestone Aug 16, 2018
@davecgh davecgh force-pushed the multi_tempdb_paths branch 2 times, most recently from b214088 to d8da47c Compare August 16, 2018 19:08
This modifies the various tests that create temporary databases to make
use of ioutil.TempDir instead of a relative directory path.  This allows
the tests to be run from any path without failure.
@davecgh davecgh merged commit 3e21bda into decred:master Aug 16, 2018
@davecgh davecgh deleted the multi_tempdb_paths branch August 16, 2018 20:07
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

Successfully merging this pull request may close these issues.

2 participants