...
- Request listing of all files
- The existing files in the system should be listed with their size and a count of pillars where the file is present.
bash bin/bitmag.sh get-file-ids -c integrationtest1
- The existing files in the system should be listed with their size and a count of pillars where the file is present.
List known file
- Request listing of a single existing file, see it comes back in the listing with the correct file size and pillar count.
bash bin/bitmag.sh get-file-ids -c integrationtest1 -i DefaultFile
List unknown file
- Request listing of a file not in the collection.
- An empty list is returned.
bash bin/bitmag.sh get-file-ids -c integrationtest1 -i This_File_Does_Not_Exist_10293847857675684930201
- An empty list is returned.
Missing files
- Put a new file to a single pillar
- Request listing of all files.
- Verify that the new file is present on all pillars and that they agree on its size.
- Delete the file on one or more pillars.
- Request listing of all files.
- Verify that the pillar count for the file reflects the number of deletions, and that the original set of files is still listed.
- Delete the new file on the remaining pillars.
- Verify that the all the pillars only list the original files.
...