Child pages
  • PutFile tests

Versions Compared

Key

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

...

  1. 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)
    1. The putFile request should fail informing the user that a file with the given file ID already exists in the collection.
      1. bash bin/bitmag.sh put-file -c integrationtest2 -f conf/RepositorySettings.xml -i putFileTest_2_2015_02_20.txt

  2. Attempt to put a file which does not exist
    1. Client should fail immediately
      1. bash bin/bitmag.sh put-file -c integrationtest2 -f ThisFileDoesNotExist
  3. Attempt to put a file to a non-existing collection
    1. Client should fail immediately
      1. bash bin/bitmag.sh get-checksums -c integrationtest3 -i putFileTest_5_2015_02_20.txt

  4. Attempt to put a file to a non-existing pillar
    1. Client should fail immediately
      1. bash bin/bitmag.sh get-checksums -c integrationtest1 -i putFileTest_5_2015_02_20.txt -p non-existing-pillar

 

Children Display
excerpttrue

...