s3-tests.git
3 years agos3select tests for coalesce and case 364/head
Albin Antony [Tue, 13 Oct 2020 10:06:29 +0000 (15:36 +0530)]
s3select tests for coalesce and case

Signed-off-by: Albin Antony <aantony@redhat.com>
3 years agoMerge pull request #355 from TRYTOBE8TME/wip-sts-tests
TRYTOBE8TME [Mon, 17 Aug 2020 09:41:32 +0000 (15:11 +0530)]
Merge pull request #355 from TRYTOBE8TME/wip-sts-tests

STS Tests File and required modification in other files for the same

3 years agoMerge pull request #352 from ceph/validate_test_setup
Gal Salomon [Wed, 12 Aug 2020 10:32:29 +0000 (13:32 +0300)]
Merge pull request #352 from ceph/validate_test_setup

per each new uploaded file(for test), it got unique name(random), and…

3 years agoper each new uploaded file(for test), it got unique name(random), and uploaded file... validate_test_setup 352/head
gal salomon [Fri, 3 Jul 2020 11:49:13 +0000 (14:49 +0300)]
per each new uploaded file(for test), it got unique name(random), and uploaded file is verified for its content

Signed-off-by: gal salomon <gal.salomon@gmail.com>
Signed-off-by: gal salomon <gal.salomon@gmail.com>
3 years agoSTS Tests Files and modification in __init__.py 355/head
root [Thu, 30 Jul 2020 11:35:59 +0000 (17:05 +0530)]
STS Tests Files and modification in __init__.py

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
3 years agoMerge pull request #353 from ceph/add_test_filter
Casey Bodley [Tue, 7 Jul 2020 11:37:49 +0000 (07:37 -0400)]
Merge pull request #353 from ceph/add_test_filter

add filter for s3select tests

3 years agoadd filter for s3select tests add_test_filter 353/head
gal salomon [Mon, 6 Jul 2020 21:10:50 +0000 (00:10 +0300)]
add filter for s3select tests

Signed-off-by: gal salomon <gal.salomon@gmail.com>
3 years agoMerge pull request #342 from ceph/s3select_first_tests_framework
Matt Benjamin [Thu, 25 Jun 2020 16:27:32 +0000 (12:27 -0400)]
Merge pull request #342 from ceph/s3select_first_tests_framework

commit first tests for s3select and initial framework

3 years agofix comments;remove non-used imports;enable test for projection;using get_client() s3select_first_tests_framework 342/head
gal salomon [Sun, 31 May 2020 13:07:58 +0000 (16:07 +0300)]
fix comments;remove non-used imports;enable test for projection;using get_client()

3 years agoadding radom-generated tests, one for where clause , the second for prjection. random...
gal salomon [Tue, 26 May 2020 22:20:31 +0000 (01:20 +0300)]
adding radom-generated tests, one for where clause , the second for prjection. random arithmetical expression is generated and used for building s3-select query; result is compared to python-engine

3 years agoMerge pull request #347 from linuxbox2/wip-fix-lc-expire-timers
Casey Bodley [Tue, 26 May 2020 15:06:40 +0000 (11:06 -0400)]
Merge pull request #347 from linuxbox2/wip-fix-lc-expire-timers

fix/restore test_lifecycle_expiration checks

3 years agoMerge pull request #350 from tchaikov/wip-45691
Casey Bodley [Tue, 26 May 2020 13:01:29 +0000 (09:01 -0400)]
Merge pull request #350 from tchaikov/wip-45691

bootstrap,requirements.txt: bump up setuptools and requests

3 years agobootstrap,requirements.txt: bump up setuptools and requests 350/head
Kefu Chai [Mon, 25 May 2020 04:48:19 +0000 (12:48 +0800)]
bootstrap,requirements.txt: bump up setuptools and requests

Fixes: https://tracker.ceph.com/issues/45691
Signed-off-by: Kefu Chai <kchai@redhat.com>
3 years agopython linter; replace assert with assert_equal; add complex query test(sum,count...
gal salomon [Tue, 26 May 2020 08:36:38 +0000 (11:36 +0300)]
python linter; replace assert with assert_equal; add complex query test(sum,count,where); add test-schema ;

3 years agousing config parameters
gal salomon [Sat, 23 May 2020 12:10:14 +0000 (15:10 +0300)]
using config parameters

3 years agoMerge pull request #348 from cbodley/wip-bootstrap-virtualenv-deprecated
Casey Bodley [Thu, 21 May 2020 15:08:46 +0000 (11:08 -0400)]
Merge pull request #348 from cbodley/wip-bootstrap-virtualenv-deprecated

bootstrap: remove deprecated virtualenv options

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
3 years agobootstrap: remove deprecated virtualenv options 348/head
Casey Bodley [Thu, 21 May 2020 14:48:34 +0000 (10:48 -0400)]
bootstrap: remove deprecated virtualenv options

this fails on Ubuntu 20.04:

> virtualenv: error: unrecognized arguments: --no-site-packages --distribute

according to `virtualenv -h`:

>   --no-site-packages    DEPRECATED. Retained only for backward compatibility.
>                         Not having access to global site-packages is now the
>                         default behavior.
>   --distribute          DEPRECATED. Retained only for backward compatibility.
>                         This option has no effect.

Signed-off-by: Casey Bodley <cbodley@redhat.com>
3 years agofix/restore test_lifecycle_expiration checks 347/head
Matt Benjamin [Tue, 19 May 2020 12:41:39 +0000 (08:41 -0400)]
fix/restore test_lifecycle_expiration checks

Commit bf956df71e56bcdae7d41b9789d8e8d775f76007 adding
listobvjectsv2 tests inadvertently changed the v1
test_lifecycle_expiration test, which it had copied to
create a v2 version.  Revert this.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
3 years agoMerge pull request #345 from huangp0600/hp-dev
Ali Maredia [Fri, 15 May 2020 19:19:42 +0000 (15:19 -0400)]
Merge pull request #345 from huangp0600/hp-dev

Fix: Bucket resource leak when cleanup

3 years agoFix: Bucket resource leak when cleanup 345/head
Pei [Tue, 5 May 2020 08:07:27 +0000 (01:07 -0700)]
Fix: Bucket resource leak when cleanup

In the function of nuke_prefixed_buckets, if some err is thrown when deleting buckets, the left buckets remain uncleaned.
It is kind of resoruce leak on some charged platform. We have to clear them manually.

I know the original code is meant to give the user some hint by rasing error. But the resource leak of left buckets is a little annoying.

This PR would skip the problem point and continue the teardown process. The last client error would be saved and re-raised after the loop completes.

Signed-off-by: Pei <huangp0600@126.com>
Signed-off-by: Pei <phuang1@dev-new-3-3854897.slc07.dev.ebayc3.com>
3 years agoadd tests to validate csv-header-info functionalities is correct
gal salomon [Fri, 8 May 2020 13:51:24 +0000 (16:51 +0300)]
add tests to validate csv-header-info functionalities is correct

3 years agoadding test cases for processing CSV objects with different CSV definitions; validate...
gal salomon [Tue, 28 Apr 2020 16:10:24 +0000 (19:10 +0300)]
adding test cases for processing CSV objects with different CSV definitions; validate null,escape-rules and quotes are processed correctly

4 years agoadding utcnow test
gal salomon [Wed, 15 Apr 2020 14:20:52 +0000 (17:20 +0300)]
adding utcnow test

4 years agoadding tests for date-time functionalities
gal salomon [Thu, 9 Apr 2020 13:43:11 +0000 (16:43 +0300)]
adding tests for date-time functionalities

4 years agoadd complex expression tests; for nested function calls; and different where-clause...
gal salomon [Sat, 4 Apr 2020 13:31:54 +0000 (16:31 +0300)]
add complex expression tests; for nested function calls; and different where-clause which create the same group of values

4 years agoadding test for detection of cyclic reference to alias
gal salomon [Tue, 31 Mar 2020 11:35:51 +0000 (14:35 +0300)]
adding test for detection of cyclic reference to alias

4 years agoadding aggregation tests
gal salomon [Sun, 29 Mar 2020 14:23:05 +0000 (17:23 +0300)]
adding aggregation tests

4 years agoadding alias test case
gal salomon [Thu, 26 Mar 2020 15:49:55 +0000 (17:49 +0200)]
adding alias test case

4 years agocommit first tests for s3select and initial framework
gal salomon [Mon, 23 Mar 2020 11:36:32 +0000 (13:36 +0200)]
commit first tests for s3select and initial framework

4 years agoMerge pull request #302 from theanalyst/public-buckets
Casey Bodley [Fri, 20 Mar 2020 21:01:34 +0000 (17:01 -0400)]
Merge pull request #302 from theanalyst/public-buckets

Public buckets

4 years agofix ignore public acls with py3 compatible code 302/head 329/head
Abhishek Lekshmanan [Wed, 22 Jan 2020 16:06:09 +0000 (17:06 +0100)]
fix ignore public acls with py3 compatible code

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoadd tests for ignore public acls
Abhishek Lekshmanan [Tue, 8 Oct 2019 13:22:42 +0000 (15:22 +0200)]
add tests for ignore public acls

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoadd test for block public policy
Abhishek Lekshmanan [Tue, 8 Oct 2019 13:22:19 +0000 (15:22 +0200)]
add test for block public policy

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agouse empty bodies for canned acl tests with BlockPublicAccess
Abhishek Lekshmanan [Tue, 8 Oct 2019 13:21:20 +0000 (15:21 +0200)]
use empty bodies for  canned acl tests with BlockPublicAccess

This should be a temporary workaround until #42208 is fixed

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoremove redundant get_client calls
Abhishek Lekshmanan [Tue, 8 Oct 2019 08:47:23 +0000 (10:47 +0200)]
remove redundant get_client calls

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoadd ability to get svc client for s3config set of apis
Abhishek Lekshmanan [Wed, 22 Jan 2020 16:03:10 +0000 (17:03 +0100)]
add ability to get svc client for s3config set of apis

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoadd tests for public access configuration
Abhishek Lekshmanan [Tue, 8 Oct 2019 08:46:38 +0000 (10:46 +0200)]
add tests for public access configuration

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoadd a few test cases for public bucket policies
Abhishek Lekshmanan [Fri, 30 Aug 2019 09:34:51 +0000 (11:34 +0200)]
add a few test cases for public bucket policies

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoboto3: add bucket policy status checks for public ACLs
Abhishek Lekshmanan [Wed, 22 Jan 2020 16:01:30 +0000 (17:01 +0100)]
boto3: add bucket policy status checks for public ACLs

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #340 from theanalyst/bootstrap-suse
Ali Maredia [Fri, 17 Jan 2020 15:02:25 +0000 (10:02 -0500)]
Merge pull request #340 from theanalyst/bootstrap-suse

bootstrap: add support for *suse distributions

4 years agobootstrap: add support for *suse distributions 340/head
Abhishek Lekshmanan [Wed, 15 Jan 2020 19:34:17 +0000 (20:34 +0100)]
bootstrap: add support for *suse distributions

Also reformatted the bootstrap script to parse /etc/os-release instead, so that
more distro/pkg manager support could be added at a later point in time and
fixed the error message

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #337 from ceph/wip-python-3-port
Casey Bodley [Wed, 15 Jan 2020 13:48:54 +0000 (08:48 -0500)]
Merge pull request #337 from ceph/wip-python-3-port

Wip python 3 port

4 years agoremove all non-functional tests and infra 337/head
Ali Maredia [Wed, 18 Dec 2019 20:37:20 +0000 (15:37 -0500)]
remove all non-functional tests and infra

Signed-off-by: Ali Maredia <amaredia@redhat.com>
4 years agoPort functional tests from python 2 to python 3
Adam C. Emerson [Fri, 22 Mar 2019 17:58:30 +0000 (13:58 -0400)]
Port functional tests from python 2 to python 3

Add fails_on_rgw to tests not passing. Some
tests from the master branch do not pass on the
rgw yet. Others waiting on rgw tracker issues to
be resolved.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
4 years agoMerge pull request #314 from theanalyst/iam/user-policy-basic
Abhishek L [Fri, 20 Dec 2019 17:30:21 +0000 (18:30 +0100)]
Merge pull request #314 from theanalyst/iam/user-policy-basic

iam: add a very basic user policy smoke test

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Pritha Srivastava <prsivas@redhat.com>
Reviewed-By: Yuval Lifshitz <yuvalif@yahoo.com>
4 years agoMerge pull request #311 from theanalyst/encoding-type
Abhishek L [Fri, 20 Dec 2019 17:28:23 +0000 (18:28 +0100)]
Merge pull request #311 from theanalyst/encoding-type

list-objects: add basic tests for encoding

Reviewed-By: Casey Bodley <cbodley@redhat.com>
4 years agoiam: explicitly set a region for the iam client 314/head
Abhishek Lekshmanan [Fri, 6 Dec 2019 16:00:13 +0000 (17:00 +0100)]
iam: explicitly set a region for the iam client

Avoids region not defined errors

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoiam: add a very basic user policy smoke test
Abhishek Lekshmanan [Thu, 24 Oct 2019 15:18:38 +0000 (17:18 +0200)]
iam: add a very basic user policy smoke test

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #331 from yehudasa/wip-which
Ali Maredia [Wed, 11 Dec 2019 15:29:21 +0000 (10:29 -0500)]
Merge pull request #331 from yehudasa/wip-which

bootstrap: different packages for 'which'

4 years agoMerge pull request #321 from romayalon/tags-order-fix
Ali Maredia [Tue, 10 Dec 2019 18:04:08 +0000 (13:04 -0500)]
Merge pull request #321 from romayalon/tags-order-fix

test_put_obj_with_tags

4 years agobootstrap: different packages for 'which' 331/head
Yehuda Sadeh [Mon, 9 Dec 2019 12:20:55 +0000 (14:20 +0200)]
bootstrap: different packages for 'which'

Either debianutils or which.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
4 years agoMerge pull request #330 from yehudasa/wip-bash
Ali Maredia [Sun, 8 Dec 2019 19:04:39 +0000 (14:04 -0500)]
Merge pull request #330 from yehudasa/wip-bash

bootstrap: switch to bash

4 years agobootstrap: switch to bash wip-rgw-sync-bucket-6-tests 330/head
Yehuda Sadeh [Sat, 7 Dec 2019 09:23:03 +0000 (11:23 +0200)]
bootstrap: switch to bash

Use of declare that is bash specific was introduced in:
d44c923405e22ea8b6cc1ab4316be3cc07f29b5

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
4 years agoMerge pull request #326 from ceph/wip-bootstrap-fix
Casey Bodley [Mon, 25 Nov 2019 16:49:25 +0000 (11:49 -0500)]
Merge pull request #326 from ceph/wip-bootstrap-fix

Minor fix to Centos 8 bootstrap changes

4 years agoMerge pull request #156 from gaul/read-unreadable-object
Ali Maredia [Mon, 25 Nov 2019 05:22:44 +0000 (00:22 -0500)]
Merge pull request #156 from gaul/read-unreadable-object

Test reading an unreadable object

4 years agoMerge pull request #278 from gaul/x-rgw
Ali Maredia [Mon, 25 Nov 2019 05:09:54 +0000 (00:09 -0500)]
Merge pull request #278 from gaul/x-rgw

Ignore missing x-rgw-* headers

4 years agoMinor fix to Centos 8 bootstrap changes wip-bootstrap-fix 326/head
Ali Maredia [Sun, 24 Nov 2019 23:04:42 +0000 (18:04 -0500)]
Minor fix to Centos 8 bootstrap changes

Signed-off-by: Ali Maredia <amaredia@redhat.com>
4 years agoIgnore missing x-rgw-* headers 278/head
Andrew Gaul [Wed, 22 May 2019 07:21:43 +0000 (16:21 +0900)]
Ignore missing x-rgw-* headers

Continue to require them in test_bucket_head_extended.  Only Ceph
supports these headers.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
4 years agoTest reading an unreadable object 156/head
Andrew Gaul [Tue, 14 Mar 2017 22:56:13 +0000 (15:56 -0700)]
Test reading an unreadable object

Signed-off-by: Andrew Gaul <andrew@gaul.org>
4 years agoMerge pull request #319 from liranmauda/liran-fix-bootstrap-for-version-8
Ali Maredia [Thu, 21 Nov 2019 18:10:56 +0000 (13:10 -0500)]
Merge pull request #319 from liranmauda/liran-fix-bootstrap-for-version-8

Fixing bootstap for RHEL/Centos 8

4 years agoMerge pull request #296 from gaul/can-test-website-501
Casey Bodley [Wed, 13 Nov 2019 16:54:33 +0000 (11:54 -0500)]
Merge pull request #296 from gaul/can-test-website-501

Do not run website tests when server emits 501

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agofix lists compare 321/head
Romy [Wed, 6 Nov 2019 11:19:39 +0000 (13:19 +0200)]
fix lists compare

4 years agoFixing bootstap for RHEL/Centos 8 319/head
liranmauda [Sun, 3 Nov 2019 13:04:15 +0000 (15:04 +0200)]
Fixing bootstap for RHEL/Centos 8

Fixing bootstap for RHEL/Centos 8

- When VERSION_ID is less than 8, installing the python packages, otherwise installing the python2 packages.
- When we are using the python2-virtualenv, we will run virtualenv-2.
- Making sure we have which installed

4 years agoMerge pull request #307 from peter-ginchev/fix_listobjects_v2_tests
Ali Maredia [Tue, 29 Oct 2019 03:56:38 +0000 (23:56 -0400)]
Merge pull request #307 from peter-ginchev/fix_listobjects_v2_tests

Fix validate_bucket_listv2

4 years agolist-objects: add basic tests for encoding 311/head
Abhishek Lekshmanan [Fri, 18 Oct 2019 14:11:18 +0000 (16:11 +0200)]
list-objects: add basic tests for encoding

Fixes: https://tracker.ceph.com/issues/41870
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #309 from hairesis/master
Ali Maredia [Mon, 7 Oct 2019 13:42:14 +0000 (09:42 -0400)]
Merge pull request #309 from hairesis/master

Push #306 to master branch.

4 years agosse-kms test keys parametrization 309/head
Andrea Baglioni [Mon, 23 Sep 2019 20:02:23 +0000 (21:02 +0100)]
sse-kms test keys parametrization

Signed-off-by: Andrea Baglioni <andrea.baglioni@workday.com>
4 years agosse-kms: adding missing kms test to parametrization
Andrea Baglioni [Tue, 24 Sep 2019 15:49:13 +0000 (16:49 +0100)]
sse-kms: adding missing kms test to parametrization

4 years agoFix validate_bucket_listv2 307/head
Peter Ginchev [Mon, 30 Sep 2019 11:38:45 +0000 (14:38 +0300)]
Fix validate_bucket_listv2

NextContinuationToken is not cleartext, and we shouldn't assume that.
Also, the test should use it for ContinuationToken

4 years agoMerge pull request #305 from cbodley/wip-validate-bucket-name
Ali Maredia [Tue, 24 Sep 2019 18:42:46 +0000 (14:42 -0400)]
Merge pull request #305 from cbodley/wip-validate-bucket-name

Fix create_bucket tests as per new bucket naming conventions

4 years agoFix create_bucket tests as per new bucket naming conventions 305/head
Soumya Koduri [Thu, 20 Jun 2019 18:14:13 +0000 (23:44 +0530)]
Fix create_bucket tests as per new bucket naming conventions

As per amazon s3 spec -
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-s3-bucket-naming-requirements.html

The s3 bucket names should not contain upper case letters or underscore.
Name cannot end with dash or have consecutive periods, or dashes adjacent to periods
Name length shouldn't exceed 63 characters.

These rules are being enforced via
- https://github.com/ceph/ceph/pull/26787

This patch is to update the respective testcases as well.

Note: check_invalid_bucket_name() seems to have been broken. It should
try to create bucket using invalid name. Have addressed it in this
patch. Because of this few testcases (which were incorrectly passing
earlier) are failing in validate_bucket_name. Have marked them
'fails_on_rgw' as done for test_bucket_create_naming_bad_punctuation

Signed-off-by: Soumya Koduri <skoduri@redhat.com>
4 years agoMerge pull request #304 from cbodley/wip-fails-with-subdomain
Casey Bodley [Wed, 11 Sep 2019 14:30:44 +0000 (10:30 -0400)]
Merge pull request #304 from cbodley/wip-fails-with-subdomain

boto2: tag more tests with fails_with_subdomain

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoboto2: tag more tests with fails_with_subdomain 304/head
Casey Bodley [Tue, 10 Sep 2019 19:14:49 +0000 (15:14 -0400)]
boto2: tag more tests with fails_with_subdomain

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #286 from zhangsw/lifecycle-expiration-versioning
Casey Bodley [Fri, 30 Aug 2019 12:58:30 +0000 (08:58 -0400)]
Merge pull request #286 from zhangsw/lifecycle-expiration-versioning

Add a case for lifecycle expiration on versining enabled bucket.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #297 from albin-antony/mutuallyexclusive
Ali Maredia [Thu, 22 Aug 2019 18:13:09 +0000 (14:13 -0400)]
Merge pull request #297 from albin-antony/mutuallyexclusive

startafter and continuation token shouldn't  be returned if they are not specified in the request

4 years agoMerge pull request #295 from tianshan/test_pr_29215
J. Eric Ivancich [Tue, 13 Aug 2019 21:09:52 +0000 (17:09 -0400)]
Merge pull request #295 from tianshan/test_pr_29215

add test case for list with delimiter not skip special keys

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
4 years agostartafter or continuation token shouldn't be returned if they are not specified... 297/head
albIN7 [Tue, 6 Aug 2019 15:48:43 +0000 (21:18 +0530)]
startafter or continuation token shouldn't  be returned if they are not specified in the request

Signed-off-by: Albin Antony <aantony@redhat.com>
4 years agoDo not run website tests when server emits 501 296/head
Andrew Gaul [Mon, 29 Jul 2019 21:16:38 +0000 (14:16 -0700)]
Do not run website tests when server emits 501

Signed-off-by: Andrew Gaul <andrew@gaul.org>
4 years agoadd test case for list with delimiter not skip special keys 295/head
Tianshan Qu [Fri, 26 Jul 2019 03:15:28 +0000 (11:15 +0800)]
add test case for list with delimiter not skip special keys

Signed-off-by: Tianshan Qu <tianshan@xsky.com>
4 years agoMerge pull request #96 from gaul/if-match
Ali Maredia [Tue, 23 Jul 2019 18:27:26 +0000 (14:27 -0400)]
Merge pull request #96 from gaul/if-match

Test copy if-match and if-none-match

4 years agoMerge pull request #291 from zhangsw/listobjectv2
Ali Maredia [Tue, 23 Jul 2019 17:51:59 +0000 (13:51 -0400)]
Merge pull request #291 from zhangsw/listobjectv2

Add a test case for continuation token in list objects v2

4 years agoUpdate the continuation token test case so that it won't fail on aws 291/head
zhang Shaowen [Thu, 18 Jul 2019 07:06:06 +0000 (15:06 +0800)]
Update the continuation token test case so that it won't fail on aws

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4 years agoMerge pull request #284 from timuralp/improvement/improve-range-tests
Ali Maredia [Tue, 16 Jul 2019 20:24:20 +0000 (16:24 -0400)]
Merge pull request #284 from timuralp/improvement/improve-range-tests

Add a test for an improperly formatted range.

4 years agoAdd a test case for list objects v2 with both continuation token and start after...
zhang Shaowen [Tue, 16 Jul 2019 11:03:25 +0000 (19:03 +0800)]
Add a test case for list objects v2 with both continuation token and start after parameter

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4 years agoMerge pull request #288 from gaul/missing-tags
Ali Maredia [Mon, 15 Jul 2019 18:26:56 +0000 (14:26 -0400)]
Merge pull request #288 from gaul/missing-tags

Add missing tags

4 years agoAdd a test case for continuation token in list objects v2
zhang Shaowen [Fri, 12 Jul 2019 01:36:15 +0000 (09:36 +0800)]
Add a test case for continuation token in list objects v2

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4 years agoupdate the case for lifecycle expiration on versioning enabled bucket 286/head
zhang Shaowen [Thu, 11 Jul 2019 08:36:16 +0000 (16:36 +0800)]
update the case for lifecycle expiration on versioning enabled bucket

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4 years agoMerge pull request #290 from cbodley/wip-location2
Ali Maredia [Wed, 10 Jul 2019 15:42:32 +0000 (11:42 -0400)]
Merge pull request #290 from cbodley/wip-location2

fix syntax error in test_bucket_get_location

4 years agofix syntax error in test_bucket_get_location 290/head
Casey Bodley [Wed, 10 Jul 2019 15:22:32 +0000 (11:22 -0400)]
fix syntax error in test_bucket_get_location

Signed-off-by: Casey Bodley <cbodley@redhat.com>
4 years agoMerge pull request #271 from cbodley/wip-bucket-location
Ali Maredia [Tue, 9 Jul 2019 18:25:52 +0000 (14:25 -0400)]
Merge pull request #271 from cbodley/wip-bucket-location

skip bucket location tests if no api_name is configured

4 years agoTest copy if-match and if-none-match 96/head
Andrew Gaul [Thu, 18 Feb 2016 06:28:09 +0000 (22:28 -0800)]
Test copy if-match and if-none-match

References #72.

Signed-off-by: Andrew Gaul <andrew@gaul.org>
4 years agoAdd missing tags 288/head
Andrew Gaul [Tue, 2 Jul 2019 21:59:18 +0000 (14:59 -0700)]
Add missing tags

4 years agoMerge pull request #276 from gaul/deps/fedora
Ali Maredia [Tue, 2 Jul 2019 21:36:27 +0000 (17:36 -0400)]
Merge pull request #276 from gaul/deps/fedora

Explicitly reference Fedora Python 2 dependency

4 years agoMerge pull request #287 from yuvalif/force_python2_in_virtualenv
Ali Maredia [Tue, 2 Jul 2019 21:32:40 +0000 (17:32 -0400)]
Merge pull request #287 from yuvalif/force_python2_in_virtualenv

make sure that virtualenv is python2 regardless of host

4 years agomake sure that virtualenv is python2 regardless of host 287/head
Yuval Lifshitz [Tue, 2 Jul 2019 12:30:31 +0000 (15:30 +0300)]
make sure that virtualenv is python2 regardless of host

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
4 years agoMerge pull request #267 from albIN7/v2tests
Ali Maredia [Fri, 28 Jun 2019 20:56:49 +0000 (16:56 -0400)]
Merge pull request #267 from albIN7/v2tests

Listobjectsv2 testcases

4 years agoAdd a case for lifecycle expiration on versining enabled bucket.
zhang Shaowen [Fri, 28 Jun 2019 08:15:56 +0000 (16:15 +0800)]
Add a case for lifecycle expiration on versining enabled bucket.

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
4 years agoAdd a test for an improperly formatted range. 284/head
Timur Alperovich [Mon, 24 Jun 2019 22:32:52 +0000 (15:32 -0700)]
Add a test for an improperly formatted range.

Adds tests for range headers that are not properly formatted (i.e. are
not of the form bytes=0-1024).

4 years agoMerge pull request #279 from zhangsw/object-lock 282/head
Casey Bodley [Thu, 20 Jun 2019 17:21:53 +0000 (13:21 -0400)]
Merge pull request #279 from zhangsw/object-lock

add test cases for object lock.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
4 years agoAdded testcases for listobjectsv2 267/head
albIN7 [Fri, 8 Mar 2019 10:11:16 +0000 (15:41 +0530)]
Added testcases for listobjectsv2

Signed-off-by: Albin Antony <aantony@redhat.com>