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

Implement mock storage #2

Open
asonnino opened this issue Jan 16, 2021 · 0 comments
Open

Implement mock storage #2

asonnino opened this issue Jan 16, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@asonnino
Copy link
Owner

All unit tests that require the store currently create one instance of RockDB. We therefore have to be careful to initialise each of these instances with a different storage path or 'cargo test' cannot run tests in parallel.

It would be better to write a simple mock storage (an in-memory store) with the same interface as the current store that could be used for testing.

@asonnino asonnino added the enhancement New feature or request label Jan 16, 2021
@asonnino asonnino self-assigned this Jan 16, 2021
asonnino pushed a commit that referenced this issue Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant