Dan Mick
27c2c4ff5d
Remove "--allow-hosts None" because it magically makes things work
...
Fixes: 12302
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 5f34b358fc
)
2015-07-14 14:06:02 -07:00
Yehuda Sadeh
2fe9942507
s3tests: fix for python 2.6
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-06-30 11:27:10 -07:00
Yehuda Sadeh
f2ee66d1cf
s3tests: more thorough multipart resend tests
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 725bb83e5e
)
Conflicts:
s3tests/functional/test_s3.py
2015-05-13 17:13:18 -07:00
Yehuda Sadeh
2b3ba675d6
radosgw-admin: test resend of a multipart upload part
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Conflicts:
s3tests/functional/test_s3.py
2015-05-13 14:55:45 -07:00
Sage Weil
f041a73153
Merge pull request #41 from ceph/wip-10770
...
rgw: concurrent non-versioned object creation, deletion
Reviewed-by: Sage Weil <sage@redhat.com>
2015-02-05 11:32:23 -08:00
Yehuda Sadeh
4342e14114
rgw: concurrent non-versioned object creation, deletion
...
Tests issue #10770 : bad bucket index entry on bucket index cancelled
operation.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-02-05 10:02:45 -08:00
Yehuda Sadeh
a7909ddd47
s3tests: test POST with bad access key
...
Tests issue #10698
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-02-05 09:42:45 -08:00
Yehuda Sadeh
ecbb481bea
Merge branch 'wip-rgw-versioning-4'
2015-01-30 07:29:42 -08:00
Yehuda Sadeh
f4efa882ff
Merge remote-tracking branch 'github/next'
2015-01-29 15:37:35 -08:00
Yehuda Sadeh
f33a86b388
Merge branch 'wip-bi-sharding-3' into wip-rgw-versioning-3
...
Conflicts:
s3tests/functional/test_s3.py
2015-01-22 15:24:07 -08:00
Yehuda Sadeh
76e8bed4bd
s3tests: send raw http requests to test redirects
...
Since we fixed the rgw redirect code, it turns out that boto actually
follows on them. We just want to check if redirect is sent.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-22 15:21:46 -08:00
Yehuda Sadeh
4d0af2149f
Merge pull request #27 from xylv/wip-test-issue-10311
...
s3tests: add regression test for bug #10311 - rgw: Object is deleted automatically if conditional PUT returns 412
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-01-21 14:49:47 -08:00
Yehuda Sadeh
7a0932fe02
s3tests: test list bucket versions
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:08:29 -08:00
Yehuda Sadeh
460e3f1f1e
s3tests: concurrent object versioning tests
...
test concurrent creation and removal
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:08:29 -08:00
Yehuda Sadeh
5be9694863
s3tests: versioned get_acl, put_acl
...
modify a specific version acl, check this specific version, check it
didn't affect object head acls.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
e109c5c7b7
s3test: add a new multi obj delete test
...
Validate creation of delete marker.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
53d5857e83
s3test: add versioned multi delete
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
ec6ea92443
test: fixes
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
67bb05c87e
s3test: test copy version
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
b4d406bcf7
test_s3: add versioned multipart upload test
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
3c297038f6
s3tests: more object versioning tests
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
a3ce6be105
s3tests: object version removal and delete marker test
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
5d67c7f5df
s3tests: extend object versions test
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:54 -08:00
Yehuda Sadeh
0f0e833801
s3tests: add test_versioning_obj_create_read_remove()
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:53 -08:00
Yehuda Sadeh
032f41f6f3
functional: add test_versioning_bucket_create_suspend()
...
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:53 -08:00
Yehuda Sadeh
d4e9e40792
teardown: clean object versions
...
also don't set acls on buckets, objects before removing, no need for
that.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-19 15:07:53 -08:00
Alfredo Deza
517abbb468
Merge pull request #38 from ceph/wip-bi-sharding-3
...
s3tests: send raw http requests to test redirects
2015-01-19 12:17:36 -05:00
Yehuda Sadeh
2f279540f9
s3tests: send raw http requests to test redirects
...
Since we fixed the rgw redirect code, it turns out that boto actually
follows on them. We just want to check if redirect is sent.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2015-01-13 16:46:33 -08:00
Alfredo Deza
4a67f6c0f3
Merge pull request #28 from ceph/wip-bad-auth-test
...
test_object_create_bad_authorization_incorrect: fixes
2014-12-16 16:03:17 -05:00
Yehuda Sadeh
8f6c109882
test_object_create_bad_authorization_incorrect: fixes
...
The test should expect BadSignature. Also, provide a key that does not
already exist on aws.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-12-16 12:56:53 -08:00
Josh Durgin
d50dfe8fa3
Merge pull request #26 from ceph/wip-10066
...
fixes/improves weird hashing issues on readwrite tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-12-15 23:17:51 -08:00
Alfredo Deza
abc9e67120
Revert "test_bucket_create_exists should fail on recreate"
...
This reverts commit c82649b635
.
The suite does not support duality in behaviors (e.g.
US Standard vs. Regional behavior) so we adhere to US
Standard only.
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-15 10:41:59 -05:00
Ray Lv
085277338f
s3tests: add regression test for bug #10311 - rgw: Object is deleted automatically if conditional PUT returns 412
...
Test for bug #10311
Signed-off-by: Ray Lv <raylv@yahoo-inc.com>
2014-12-15 16:47:34 +08:00
Alfredo Deza
a983b6b670
fix broken/commented tests
...
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-12 13:53:43 -05:00
Alfredo Deza
cad6547eb0
use the new helpers for realistic files
...
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-12 13:53:19 -05:00
Alfredo Deza
b4794edbb3
always seek back to 0, remove chunk usage
...
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-12 13:52:43 -05:00
Yehuda Sadeh
c6043faa30
Merge pull request #23 from xylv/wip-test-issue-8562
...
s3tests: add conditional put test
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2014-12-12 10:42:54 -08:00
Alfredo Deza
3390afc4a5
adding a new FileValidator
...
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-12 11:12:10 -05:00
Alfredo Deza
8ee55a32f5
new tests for the new pseudo-random content files
...
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-12 11:09:27 -05:00
Alfredo Deza
fc92b4925d
adding a proof for the realistic bugs
...
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-12-10 16:55:54 -05:00
Alfredo Deza
f07b5206a6
Merge pull request #19 from andrewgaul/query-string-authorization-expiration
...
Test query string authorization expiration
2014-12-04 09:43:25 -05:00
Alfredo Deza
7b5a61fa7f
Merge pull request #17 from andrewgaul/delete-object-non-existent-bucket
...
Test delete object on non-existent bucket
2014-12-04 09:37:11 -05:00
Alfredo Deza
405d96c379
Merge pull request #24 from andrewgaul/list-bucket
...
Improve list bucket invalid and bad auth tests
2014-12-04 09:32:08 -05:00
Alfredo Deza
81dc4f4b24
Merge pull request #9 from andrewgaul/bucket-create-exists
...
test_bucket_create_exists should fail on recreate
2014-12-04 09:28:31 -05:00
Andrew Gaul
5a995a9e14
Improve list bucket invalid and bad auth tests
...
Explicitly test invalid access keys and valid access keys but invalid
secret keys. Also disable anonymous list bucket test for AWS.
radosgw uses this for connectivity testing but AWS does not allow it:
http://ceph.com/docs/master/radosgw/config/#verify-the-runtime
http://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceGET.html
2014-12-03 20:42:23 -08:00
Ray Lv
3e1e2ee438
s3tests: add conditional put test
...
Test for issue #8562
Signed-off-by: Ray Lv <raylv@yahoo-inc.com>
2014-11-25 14:51:38 +08:00
Josh Durgin
70db3015b9
Merge pull request #22 from ceph/wip-configurable-copy
...
test_s3: add is_slow_backend
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2014-10-20 13:45:39 -07:00
Yehuda Sadeh
f4de9f7b42
test_s3: fix test_list_multipart_upload()
...
Test was calling _multipart_upload() with extra useless param, this
broke when we added a new param to the function.
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2014-10-14 14:16:30 -07:00
Yehuda Sadeh
d39799327e
Merge pull request #21 from lpabon/small_multipart_upload
...
Multipart test with 10k small objects.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2014-10-13 12:52:09 -07:00
Luis Pabón
be982f624e
Multipart test with 10k small objects.
...
Test detects that the server returns the correct error
code
Signed-off-by: Luis Pabón <lpabon@redhat.com>
2014-10-13 10:10:27 -04:00