Yehuda Sadeh
017354ae07
Merge pull request #76 from jmunhoz/test-requestid-on-error
...
Test RequestId on error
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-29 08:38:31 -07:00
Javier M. Mellid
6ca9492797
s3tests: Add test_object_requestid_matchs_header_on_error
...
Error responses' RequestId must match header's x-amz-request-id value.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2015-10-29 00:12:51 +01:00
Javier M. Mellid
63048b7bdf
s3tests: Add test_object_requestid_on_error
...
Error responses must contains a RequestId tag. This is the ID of the
request associated with the error.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2015-10-28 23:55:45 +01:00
Yehuda Sadeh
001972a51c
Merge pull request #75 from jmunhoz/test-multipart-cp
...
Test multipart copy part feature
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-27 08:19:30 -07:00
Yehuda Sadeh
21cf4f4c87
check if setting acls modifies etag in bucket listing
...
This checks for ceph issue #12955
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-29 08:15:42 -07:00
Yehuda Sadeh
4900d6af3a
rgw: test versioned objects with special names
...
E.g., objects that start with undescore
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-09-10 13:18:28 -07:00
Javier M. Mellid
88ccf95fc5
s3tests: Add test_multipart_copy_multiple_sizes
...
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2015-09-02 18:57:25 +02:00
Javier M. Mellid
126da37dfd
s3tests: Add test_multipart_copy_small
...
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2015-09-02 18:57:25 +02:00
Yehuda Sadeh
83c9269619
Merge pull request #70 from tobegit3hub/fix_example_in_readme
...
Fix the example which is deprecated in README.rst
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-08-13 10:31:47 -07:00
Yehuda Sadeh
88fe0d05f4
Merge pull request #53 from andrewgaul/mpu-invalid-parts
...
Add multipart tests with invalid parts
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-08-13 10:28:45 -07:00
Yehuda Sadeh
a7f483f3cd
Merge pull request #64 from andrewgaul/cache-control-expires-headers
...
Add tests for Cache-Control and Expires headers
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-08-13 10:27:14 -07:00
Yehuda Sadeh
ec5294fcfc
Merge pull request #59 from robbat2/wip-website-fuzzy
...
fuzz: Write fuzzer rules for WebsiteConfiguration.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-08-13 10:21:51 -07:00
tobe
3f518a2ae7
Use test_bucket_list_empty as example in README
2015-08-03 20:30:46 +08:00
tobe
1cc61dbc70
Fix the example which is deprecated in README.rst
...
Signed-off-by: tobe <tobeg3oogle@gmail.com>
2015-08-03 10:32:04 +08:00
Zack Cerza
2cf6908e15
Merge pull request #66 from ceph/wip-12302
...
Remove "--allow-hosts None" because it magically makes things work
2015-07-14 11:58:50 -06:00
Dan Mick
5f34b358fc
Remove "--allow-hosts None" because it magically makes things work
...
Fixes: 12302
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2015-07-14 10:19:37 -07:00
Andrew Gaul
553007eb4a
Add tests for Cache-Control and Expires headers
...
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-06-30 16:39:13 -07:00
Yehuda Sadeh
3fea65c3b4
s3tests: fix for python 2.6
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-30 11:26:35 -07:00
Yehuda Sadeh
29a0fc3725
Merge pull request #63 from andrewgaul/unneeded_head_bucket
...
Remove unneeded called to _head_bucket
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-30 10:12:52 -07:00
Andrew Gaul
3ed20fd910
Remove unneeded called to _head_bucket
...
Test does not consume obj_count or bytes_used and this function now
returns a dict of optional headers.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-06-30 10:09:29 -07:00
Yehuda Sadeh
5407628c3a
s3tests: adjust copy tests to test copy of larger objects
...
rgw has different code paths for objects > 512k
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-17 13:20:54 -07:00
Yehuda Sadeh
226f5eb507
Merge pull request #58 from robbat2/wip-unique-testname
...
tests must have unique names, otherwise they override existing tests.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-17 13:31:30 -07:00
Yehuda Sadeh
f01ec62a67
Merge pull request #61 from andrewgaul/range-get-content-range
...
Test Content-Range header in range requests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-17 13:30:32 -07:00
Yehuda Sadeh
ea4f4f5196
Merge pull request #60 from andrewgaul/range-get-invalid-range
...
Test range get with invalid range
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-17 13:30:17 -07:00
Andrew Gaul
6110a41bcd
Test range get with invalid range
...
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-06-17 09:18:39 -07:00
Andrew Gaul
f6329714cc
Test Content-Range header in range requests
...
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-06-17 08:26:46 -07:00
Yehuda Sadeh
6e70b4b511
s3tests: fix multipart test
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-16 15:32:19 -07:00
Robin H. Johnson
8fb887cbab
fuzz: Write fuzzer rules for WebsiteConfiguration.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-06-14 22:11:42 -07:00
Robin H. Johnson
c5ba8c4e0f
tests must have unique names, otherwise they override existing tests.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2015-06-14 22:10:35 -07:00
Yehuda Sadeh
368b27a5c3
Merge pull request #56 from jmunhoz/bug-11753
...
s3tests: Test copying foreign object in foreign bucket
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-05-28 01:39:08 -07:00
Javier M. Mellid
cece4dd137
s3tests: Test copying foreign object in foreign bucket
...
User should be able to copy non-owned objects inside non-owned buckets when
they have full permissions to both bucket and object.
Test for issue #11639
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2015-05-27 11:31:43 +02:00
Yehuda Sadeh
0aa8e1ce3f
Merge pull request #55 from ceph/wip-bootstrap-pkg-install
...
bootstrap: apt/yum install the list of dependencies
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-05-15 10:36:34 -07:00
Ken Dreyer
84a22c336b
bootstrap: apt/yum install the list of dependencies
...
If RPM or DEB packages are missing, don't print to STDERR and bail.
Instead, assume that the user has sudo rights, and attempt to install
the missing packages for the user automatically.
2015-05-15 11:18:55 -06:00
Yehuda Sadeh
725bb83e5e
s3tests: more thorough multipart resend tests
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-05-13 17:11:51 -07:00
Yehuda Sadeh
8151c6901e
radosgw-admin: test resend of a multipart upload part
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-05-12 17:06:38 -07:00
Andrew Gaul
6706d5d8a9
Add multipart tests with invalid parts
...
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-05-02 11:09:31 -07:00
Yehuda Sadeh
f9ab26c05c
Merge pull request #52 from andrewgaul/nuke-empty-bucket
...
Handle empty bucket while nuking
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-05-01 13:14:39 -07:00
Andrew Gaul
31efb46b28
Handle empty bucket while nuking
...
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-05-01 13:10:58 -07:00
Yehuda Sadeh
e4dafa0cc2
Merge pull request #51 from andrewgaul/nuke-bucket-without-versions
...
Fall back when nuking buckets
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-24 14:50:49 -07:00
Andrew Gaul
0dfcbc7da6
Fall back when nuking buckets
...
Some S3 implementations do not support object versioning - fall back
to listing without versions.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-04-24 14:47:28 -07:00
Yehuda Sadeh
c41ebab9cf
s3tests: cleanup, set bucket acls if permission denied
...
retry bucket removal after setting the bucket permissions if we're
getting pemission denied. This will make sure the bucket gets removed.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-24 13:51:21 -07:00
Yehuda Sadeh
1e9ba11d9e
Merge pull request #50 from andrewgaul/test-object-acl-canned-during-create
...
Add test_object_acl_canned_during_create
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-24 09:16:45 -07:00
Andrew Gaul
b209f9992f
Add test_object_acl_canned_during_create
...
This mirrors test_bucket_acl_canned_during_create.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-04-23 16:29:54 -07:00
Yehuda Sadeh
efde9743d8
Merge pull request #47 from andrewgaul/copy-blob-content-type
...
Replace and retain Content-Type in copy tests
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-04-06 10:00:38 -07:00
Andrew Gaul
29581e278b
Replace and retain Content-Type in copy tests
...
Also set user metadata during put instead of issuing an additional
copy.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-04-05 17:31:07 -07:00
Yehuda Sadeh
e97a13e8e8
Merge pull request #45 from andrewgaul/head-operation-tests
...
Do not rely on Ceph extensions in head bucket
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-17 09:35:04 -07:00
Yehuda Sadeh
26e8378f6c
Merge pull request #46 from andrewgaul/container-create-acl
...
Test setting container ACLs during create bucket
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-17 09:33:10 -07:00
Yehuda Sadeh
2747fb9311
Merge pull request #44 from ceph/wip-10551
...
Add fails_on_mod_proxy_fcgi to functional.test_s3.test_100_continue
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-17 09:31:17 -07:00
Andrew Gaul
1fed8aebd3
Test setting container ACLs during create bucket
...
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-03-15 18:06:12 -07:00
Andrew Gaul
7b4373bb72
Do not rely on Ceph extensions in head bucket
...
This commit allows test_bucket_head test_bucket_head,
test_bucket_head_extended, test_multipart_upload, and
test_abort_multipart_upload to succeed against AWS-S3. Also use
public buckets for head tests since they do not require private
buckets.
Signed-off-by: Andrew Gaul <andrew@gaul.org>
2015-03-10 11:19:24 -07:00