Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After obtaining nix on linux (macOS is possible, but quite a bit of work) you can run these tests and explore.
nix repl --file /path/to/null-db
- inspect nixpkgs and evaluate nix expressionsnix-shell /path/to/null-db
- jump into a dev environment with the tools used to build null-dbnix-build /path/to/null-db --attr null-db
- build the null-db in nix and create a symlink to the result in./result
nix-build /path/to/null-db --attr null-db.tests.basic-raft
- run a basic nixos-test (currently failing). If it succeeds then a symlink will be created in./result
$(nix-build --no-out-link --attr null-db.tests.basic-raft.driverInteractive)/bin/nixos-test-driver
- build and enter a python repl where you can run the vms and test script or otherwise interact with the nixos test environment (no./result
created because of--no-out-link
)Best reviewed per-commit.