Skip to content

Use a tempdir for DB file tests - #71

Open
MggMuggins wants to merge 1 commit into
ivanceras:masterfrom
MggMuggins:tempdir-tests
Open

Use a tempdir for DB file tests#71
MggMuggins wants to merge 1 commit into
ivanceras:masterfrom
MggMuggins:tempdir-tests

Conversation

@MggMuggins

Copy link
Copy Markdown

I am packaging r2d2-sqlite for Debian. Some linux distributions (Debian, namely) run the tests in a non-writable directory, which causes these to fail.

Use a (writable) tempdir instead.

This avoids exercising sqlite's concurrency features when running the tests.

Some linux distributions (Debian, in this case) run the tests in a
non-writable directory, which causes these to fail.

Use a (writable) tempdir instead.
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.

1 participant