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 leveldb mockable in package database #433

Closed
NicolasMahe opened this issue Sep 6, 2018 · 1 comment
Closed

Make leveldb mockable in package database #433

NicolasMahe opened this issue Sep 6, 2018 · 1 comment

Comments

@NicolasMahe
Copy link
Member

The LevelDB library used in package database should be mocked in order to run test without actually writing on the disk.
The following PR introduces a hack to change the path of the db when running test: #427

@krhubert
Copy link
Contributor

There is no profit to avoid writing to a filesystem. Also we have refactor database (and the config for it)

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