Child pages
  • Delete tests
Skip to end of metadata
Go to start of metadata
Describes the tests needed to validate the Delete functionality.

Basic delete

  1. Attempt to delete a existing file on a pillar, supplying a correct checksum.
    1. The file should have been removed from the collection. Use the getFileIDs and getChecksums operation to verify the deletion.
  2. Attempt to delete a the file again.
    1. The operation should still return succesfully because of the deleteFile idempotent behavior.
  3. Attempt to delete a file in a different collection.
    1. The file should have been removed from the collection. Use the getFileIDs and getChecksums operation to verify the deletion.

Delete with returned checksum

  1. Attempt to delete a existing file on a pillar, requesting the return of a pillar calculated,salted checksum.
    1. The file should have been removed from the collection and a checksum should have been returned.
  2. Delete the file on a different pillar, requesting the return of a pillar calculated,salted checksum.
    1. Verify that the returned checksums are the same.

Bad checksum delete

  1. Attempt to delete a existing file on a pillar, supplying a incorrect checksum.
    1. The file should have been not have been removed from the collection and the pillar should inform the user that the cause was the incorrect checksum. Use the getFileIDs and getChecksums operation to verify the deletion.

Open issues

Key P Summary T Created
Loading...
Refresh

  • No labels