Open magik6k opened 6 years ago
Some things for the list of things to test:
I'm assigning (temporarily) this issue to myself while I prepare some tests for the Badger implementation, you could guide me to structure those tests in a way that they may be re-utilized in the future for the generic datastore interface. (Sometimes that won't be possible as some tests need to interact directly with badger-specific settings.)
@magik6k Do you know of any sharness test I could use as a base for the datastore tests?
For some relevant tests I'd start with 40-add-and-cat
, 45-ls
, 50-block
, 53-dag
, 80-repo
and 81-repo-gc-auto
.
Optimally we'd be able to tell sharness/make to re-run some tests with different datastore/profile.
Datastores (mostly badger for now) should get some more testing, this can be done in couple of ways: