Child pages
  • Integrity Service tests

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Put the deleted file back to the pillar (e.g. move it back to the fileDir at the ReferencePillar)
  2. Run the CompleteIntegrityCheck by clicking the Start button - and wait until it is finished.
  3. Verify that the file is not longer missing at the pillar.
Test corrupt file at single pillar
  1. Change in the content of a file at one of the pillars (e.g. run replace-file, or add a character to it in the fileDir of the ReferencePillar) - The file must be present at all pillars initially and not have any checksum errors.
  2. Run the CompleteIntegrityCheck by clicking the Start button - and wait until it is finished.
  3. Verify that no pillar is missing the corrupted file.
  4. Verify that only the pillar, where it have been corrupted, have the given file amongst their list of 'files with checksum error'.
  5. Verify that an alarm has been send to the AlarmService about the corrupt file.
Test corrupt file at multiple pillars
  1. Choose a collection with more than 3 pillars.
  2. Upload a file to all pillars
  3. Run replace-file command with another file for two of the pillars (thus at least two has the original and at least two has the new file)
  4. Run the CompleteIntegrityCheck by clicking the Start button - and wait until it is finished.
  5. Verify that no pillar is missing the corrupted file.
  6. Verify that all pillars have the given file amongst their list of 'files with checksum error'.
  7. Verify that an alarm has been send to the AlarmService about the corrupt file.

...