Task1: Test the contents of BlockStoreMeta returned by .getBlockStoreMeta() and getBlockStoreMetaFull() on an empty block store and see if the results are expected.
Task2: Create new test blocks to test if block store has new blocks or other new changes, is the BlockStoreMeta reflected the changes correctly.
Improve
DefaultBlockWorkerTest.getStoreMeta()
to actually testing the content of the returned store metadata instead of using meaninglessAn example is that we can test the store capacity information
Task1: Test the contents of BlockStoreMeta returned by
.getBlockStoreMeta()
andgetBlockStoreMetaFull()
on an empty block store and see if the results are expected.Task2: Create new test blocks to test if block store has new blocks or other new changes, is the BlockStoreMeta reflected the changes correctly.
Time estimate: 1 week