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

tests: fix for windows #11

Merged
merged 2 commits into from
Apr 30, 2020
Merged

tests: fix for windows #11

merged 2 commits into from
Apr 30, 2020

Conversation

tynes
Copy link
Member

@tynes tynes commented Apr 30, 2020

This PR abstracts the hardcoded dbpath variable such that it works on non unix operating systems like Windows. It also fixes some linting errors in the tests.

This is a precursor for my experimentation with upgrading LevelDB to the latest release. I have successfully synced bcoin using LevelDB 1.22 on Linux. I'd like to get some performance metrics before attempting to merge into bdb. Looking at the LevelDB issues, it appears as if some critical bugs were fixed since 1.20.

My work is here:
https://github.com/tynes/bdb/tree/leveldb-1.22

Note that the above git branch does not build on Windows yet and this PR will more easily allow me to test that it builds and operates as expected.

@tynes tynes mentioned this pull request Apr 30, 2020
@braydonf
Copy link
Contributor

In relation to testing LevelDB changes, there are very few tests here, so there isn't a lot of coverage. Most of the tests are at the upstream source https://github.com/level/leveldown

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