From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description= Swift allowes files to be split into multiple parts while being uploaded. Using this clients can upload files that exceed the swift maximim file ...") |
m (spelling fix) |
||
(One intermediate revision by one other user not shown) | |||
Line 19: | Line 19: | ||
|results= | |results= | ||
Verify file has been uploaded in | Verify file has been uploaded in segments | ||
$> swift list c2_segments | $> swift list c2_segments | ||
Verify original and download file are identical | Verify original and download file are identical | ||
$> cd | $> cd - | ||
$> md5sum test.data swift_test_2/test.data | $> md5sum test.data swift_test_2/test.data | ||
}} | }} |
Latest revision as of 19:10, 25 September 2012
Description
Swift allowes files to be split into multiple parts while being uploaded. Using this clients can upload files that exceed the swift maximim file size limit. Also multiple parts will be uploaded in parralell
Setup
Set up your environment to use you openstack credentials
$> cd $> . /path/to/keystonerc
Create a sample data file
$> dd if=/dev/urandom of=test.data bs=1024 count=10k
How to test
Use the swift client to upload, download and list the file
$> swift upload c2 test.data -S 4194304 $> swift list $> swift list c2 $> mkdir swift_test_2 ; cd swift_test_2 $> swift download c2 test.data
Expected Results
Verify file has been uploaded in segments
$> swift list c2_segments
Verify original and download file are identical
$> cd - $> md5sum test.data swift_test_2/test.data