...
- Attempt to put a file with an fileID that is already present in the collection (ensure that the file has a different checksum from the already archived)
- The putFile request should fail informing the user that a file with the given file ID already exists in the collection.
bash bin/bitmag.sh put-file -c integrationtest2 -f conf/RepositorySettings.xml -i putFileTest_2_2022_03_09.txt
The response should be something similar to "Failure: d6ef5b26: PUT_FILE for file putFileTest_2_2022_03_09.txt: FAILED: , Can not put file putFileTest_2_2022_03_09.txt, as an different file already exists on pillar ..."
- The putFile request should fail informing the user that a file with the given file ID already exists in the collection.
- Attempt to put a file which does not exist
- Client should fail immediately
bash bin/bitmag.sh put-file -c integrationtest2 -f ThisFileDoesNotExist
- Client should fail immediately
- Attempt to put a file to a non-existing collection
- Client should fail immediately
bash bin/bitmag.sh put-file -c integrationtest3 -i putFileTest_5_2022_03_09.txt
- Client should fail immediately
- Attempt to put a file to a non-existing pillar
- Client should fail immediately
bash bin/bitmag.sh put-file -c integrationtest1 -i putFileTest_5_2022_03_09.txt -p non-existing-pillar
- Client should fail immediately
Children Display | ||||
---|---|---|---|---|
|
...