-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
We need 2 kinds of tests:
-
For storage components (blobstor, metabase, writecache, pilorama, shard as a whole):
- All operations are idempodent, i.e.
SetMode,Close,Opendo not panic if called twice and do nothing on the second call. - Check all possible mode transitions (
SetModebetween all pair op modes, the latestSetModeshould be checked for correctness,Openin RW/RO mode, following someSetMode). - Maybe, some fuzzing can help here: generate random byte array, each byte decodes and operation on a specific component, check that no panic occurs.
- All operations are idempodent, i.e.
-
After Unify blobstor interfaces #1584, we can write test suite for the blobstor component interface and reuse it for testing fstree, blobovnicza trees and any future blobstor components.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels