...
Manually start workflow
- Start the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
by clicking theStart
button. - Verify that the current state begin to show the different step of the workflow.
- Verify that the workflow can finish and go to the state 'idle'
- Click on the date for the 'last run' and validate that all of the previously found steps are shown with an duration time.
...
- Remove a file from one of the pillars (e.g. move it away from the fileDir in the ReferencePillar) - The file must be present at all pillars initially.
- Run the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
by clicking theStart
button - and wait until it is finished. - Verify that no corrupt files have been found anywhere.
- Verify that when it the given pillar is missing a file (or one more file than before the running of the workflow).
- Look at the list of existing files at the pillar, and verify that the deleted file is not amongst the list.
- Look at the list of existing files at another pillar, and verify that the deleted file is amongst the list for that pillar.
- Look at the list of missing files at the pillar, and verify that the deleted file is amongst the list.
- Verify that the file is not missing at any other pillar
- Verify that an alarm has been send to the AlarmService about the missing file.
...
- Put the deleted file back to the pillar (e.g. move it back to the fileDir at the ReferencePillar)
- Run the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
by clicking theStart
button - and wait until it is finished. - Verify that the file is not longer missing at the pillar.
...
- Change in the content of a file at one of the pillars (e.g. 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.
- Run the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
by clicking theStart
button - and wait until it is finished. - Verify that no pillar is missing the corrupted file.
- Verify that all pillars have the given file amongst their list of 'files with checksum error'.
- Verify that an alarm has been send to the AlarmService about the corrupt file.
...
- Restore the file (e.g. remove it and reupload it)
- Run the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
by clicking theStart
button - and wait until it is finished. - Verify that the file is no longer amongst the list of 'files with checksum error'.
...
- Check the current integrity information about a given collection (e.g. number of files and total file-size)
- Upload a new file in the current measurement size of the collection information (e.g. if the size is currently measured in MB, then upload a new file of at least 1 MB).
- Run the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
by clicking theStart
button - and wait until it is finished. - Verify that the number of files has increased by 1, and the total file size has increased accordingly with the size of the new file.
...
- Check whether the workflows have different 'last run' dates for the different collections
- Run the
CompleteIntegrityWorkflow
theCompleteIntegrityCheck
for one of the collections by clicking theStart
button - and wait until it is finished. - Verify that a new 'last run' date is updated to the time when the workflow was started.
- Verify that the other workflows, which has not been run, are not updated by this.
...