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

Fix / improve tests to run on Windows #16

Merged
merged 1 commit into from
Mar 4, 2020
Merged

Fix / improve tests to run on Windows #16

merged 1 commit into from
Mar 4, 2020

Conversation

taldcroft
Copy link
Member

@taldcroft taldcroft commented Mar 4, 2020

Description

The change in #12 to use actual file for sqlite testing caused a failure in Windows due to unlinking a file with a file handle that is still open. On further inspection the method for getting a temporary file name was not really robust (once a temp file is removed there is no guarantee that name won't be re-used), so I fixed it along the way.

Testing

  • Passes unit tests on MacOS, Windows

Fixes #

@taldcroft taldcroft merged commit 6f6737a into master Mar 4, 2020
@taldcroft taldcroft deleted the fix-windows branch March 4, 2020 17:39
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