Commit graph

679 commits

Author SHA1 Message Date
Pritha Srivastava
cd50db0260 rgw: Adding tests for Bucket Policy.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2017-06-09 19:58:51 +05:30
Yehuda Sadeh
d91b9c43a5 Merge pull request #157 from zhangsw/verionid-getobjectmeta
Add test case for getting version id when getting object and object's metadata

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-06-06 14:25:10 -07:00
Yehuda Sadeh
77241f587f Merge pull request #158 from zhangsw/lifecycle-noncurrent
Test case for non-current expiration,multipart upload expiration and delete marker expiration

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-05-04 09:37:12 -07:00
Zhang Shaowen
113e6f9bf6 Test case for non-current expiration, multipart upload expiration and
delete marker expiration.

Fixes: http://tracker.ceph.com/issues/19519

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-05-04 15:57:46 +08:00
Zhang Shaowen
04ecc85d33 Add test case for getting version id when getting object and object's metadata
Fixes: http://tracker.ceph.com/issues/19565

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-04-10 17:58:26 +08:00
Yehuda Sadeh
289eff57ec Merge pull request #154 from ceph/wip-pr-118
functional tests for server side encryption

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-03-28 09:08:12 -07:00
Casey Bodley
e49cf3ddab crypto: add key headers to valid HEAD requests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-03-28 10:03:59 -04:00
Adam Kupczyk
b27ddae9c4 Added tests for HEAD method for encrypted objects.
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-03-28 10:03:59 -04:00
Adam Kupczyk
fa597a5bf1 Added micro instuction how to configure tests for KMS (barbican) integration
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-03-28 10:03:59 -04:00
Adam Kupczyk
05543b85b1 Modified aws kms tests to use config variable kms_keyid
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-03-28 10:03:59 -04:00
Adam Kupczyk
33deec9a77 A bit more test for kms
Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-03-28 10:03:55 -04:00
Adam Kupczyk
f8761f855b Additional tests for server side encryption, S3 SSE-KMS mode.
All tests belong to group 'encryption'.

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-03-10 15:15:26 -05:00
Adam Kupczyk
d92031ef16 Additional tests for server side encryption, S3 SSE-C mode.
All tests belong to group 'encryption'.

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
2017-03-10 15:15:24 -05:00
Yehuda Sadeh
4eec3bebc7 Merge pull request #136 from jkorvin/fix-ifmodifiedsince-failed
Fix 'If-Modified-Since' format string

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-07 13:47:44 -08:00
Yehuda Sadeh
297f3d9c8c Merge pull request #135 from jkorvin/fix
Fix If-Match test

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-07 13:46:16 -08:00
Evgenii Gorinov
217f0d520f Fix 'If-Modified-Since' format string
According to https://tools.ietf.org/html/rfc7232
header 'If-Modified-Since' should be a correct HTTP-date.
For example: `Tue, 15 Nov 1994 12:45:26 GMT`;
not `1994-11-15T12:45:26.000Z`.

Signed-off-by: Evgenii Gorinov <korvin.lucky@gmail.com>
2017-03-07 23:04:41 +03:00
Evgenii Gorinov
73fb771553 Fix If-Match test
According to https://tools.ietf.org/html/rfc7232, If-Match field should looks like QUOTES ETag QUOTES.

Signed-off-by: Evgenii Gorinov <korvin.lucky@gmail.com>
2017-03-07 23:00:09 +03:00
Yehuda Sadeh
ed691169c5 Merge pull request #152 from zhangsw/set-current-acl
Add a test case for setting acl on object with no version id specified.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-07 11:48:39 -08:00
Yehuda Sadeh
f15a7f13fe Merge pull request #138 from zhangsw/lifecycle-validate
add lifecycle validate test cases.

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-03-07 11:05:21 -08:00
Yehuda Sadeh
16384c37d8 Merge pull request #128 from ceph/wip-multipart-copy
Wip multipart copy
2017-02-27 10:25:04 -08:00
Zhang Shaowen
d6435f4f5f Add a test case for setting acl on object with no version id specified.
Fixes: http://tracker.ceph.com/issues/18923

Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-02-14 16:16:51 +08:00
Ken Dreyer
0f5c7665af Merge pull request #150 from ceph/wip-remove-pip
remove python2 pip
2017-02-07 12:05:42 -07:00
vasukulkarni
2228b3ad82 remove python2 pip
python2-pip doesn't exist in rhel and python-virtualenv ships pip in its package.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-02-02 16:33:42 -08:00
Matt Benjamin
7de92b8756 Merge pull request #145 from mdw-at-linuxbox/master-setupfix
Use non-broken version of setuptools, and fix bootstrap to be more portable
2017-01-26 11:07:04 -05:00
Marcus Watts
ddc150439d Use non-broken version of setuptools, and fix bootstrap to be more portable.
Most recent version of setuptools breaks when asked to load requests 0.14.0.
symptom, complains about not being able to import filterfalse thus:
        from six.moves import map, filter, filterfalse
this comes from setuptools, and older versions of setuptools don't have
this problem.

Various versions of centos7 and fedora have interesting names for packages,
	centos7: python-pip is python2-pip
	fedora24: python-virtualenv is python2-virtualenv
This is somewhat masked by using sudo yum: if the actual package
is installed, rpm knows that the capability is there and does nothing.
But, if the package isn't there, or you haven't chosen to set up
sudo to work that way, this does not work.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2017-01-26 04:17:41 -05:00
Yehuda Sadeh
60f71aee50 Merge pull request #139 from linuxbox2/wip-setuptools
bootstrap:  force new setuptools

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-25 13:04:03 -08:00
Matt Benjamin
53b9284431 bootstrap: force new setuptools
Deal setuptools upgrade problem discussed here:
 https://github.com/pypa/setuptools/issues/940

Now follows the same formula as upstream teuthology.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-01-25 13:32:53 -05:00
Zhang Shaowen
fba689ac1e add lifecycle validate test cases.
Fixes: http://tracker.ceph.com/issues/18541
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-01-17 10:50:28 +08:00
Yehuda Sadeh
735c55654c Merge pull request #137 from ceph/wip-delete-multi-underscore
test multi-delete with object with ending underscore

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-09 15:42:09 -08:00
Orit Wasserman
e856cbcee6 test multi-delete with object with ending underscore
Fixes: http://tracker.ceph.com/issues/18023
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-12-01 11:03:52 +01:00
Yehuda Sadeh
f2d087ed8a rgw: adjust tests annotations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-02 11:52:16 -07:00
Yehuda Sadeh
39db936348 Merge pull request #133 from ceph/wip-more-multipart-copy
more multipart copy tests
2016-11-02 11:45:06 -07:00
Yehuda Sadeh
26b505a12d Merge pull request #132 from ceph/wip-17635
add a test for post object with empty conditions
2016-11-02 11:44:54 -07:00
Yehuda Sadeh
3641923f23 Merge pull request #130 from ceph/wip-aws2-aws4
rgw: skip aws2 requests when testing aws4
2016-11-02 11:44:37 -07:00
Yehuda Sadeh
f135d2fc1a Merge pull request #129 from ceph/wip-16930
Wip 16930
2016-11-02 11:44:28 -07:00
Yehuda Sadeh
7139293aa0 Merge pull request #117 from tianshan/fix-rgw-roundtrip
fix rgw_roundtrip test fail

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-02 11:43:55 -07:00
Yehuda Sadeh
433c95d3fe Merge pull request #100 from kalantal/patch-1
Update README.rst
2016-11-02 11:42:48 -07:00
Yehuda Sadeh
9a2e9bbd02 fix broken test
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-11-01 16:09:09 -07:00
Yehuda Sadeh
953f2b4625 Merge pull request #131 from ceph/wip-put-acl-underscore
test set_acl for keys with special characters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-20 12:33:52 -07:00
Yehuda Sadeh
634d96f5c6 add a test for post object with empty conditions
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-20 12:21:46 -07:00
Yehuda Sadeh
b9aab7cb1c more multipart copy tests
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-20 11:46:40 -07:00
Orit Wasserman
14da8e5b9d test set_acl for keys with special characters
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-10-20 12:11:08 +02:00
Yehuda Sadeh
e6a6ec1cd9 test concurrent bucket set acl
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 15:37:43 -07:00
Yehuda Sadeh
5bc2f21564 Merge pull request #124 from tipabu/complete-multipart
Complete multi-part upload during dry-run

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-10-04 09:56:17 -07:00
Tim Burke
316a814b59 Complete multi-part upload during dry-run
While it may be valuable to verify that deleting a non-existent key
is OK, that doesn't seem to be the point of this test.

Signed-off-by: Tim Burke <tim.burke@gmail.com>
2016-09-30 17:00:57 -07:00
Yehuda Sadeh
dc9e6ce374 rgw: adjust tests annotations
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-30 15:12:11 -07:00
Yehuda Sadeh
05f11d4c32 Merge pull request #127 from ceph/fix_copy_obj_versioned_bucket
Fix copy obj versioned bucket

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 19:05:54 -07:00
Yehuda Sadeh
0a4e05a53c more multipart copy tests
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 19:04:45 -07:00
Yehuda Sadeh
46b28af391 rgw: skip aws2 requests when testing aws4
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 19:04:45 -07:00
Yehuda Sadeh
7d716a656d rgw: skip aws2 requests when testing aws4
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-09-29 13:34:22 -07:00