]>
git.apps.os.sepia.ceph.com Git - s3-tests.git/log
Pritha Srivastava [Tue, 12 Nov 2024 05:36:23 +0000 (11:06 +0530)]
rgw/s3-tests: adding a test to check put, get, delete and
then get to ensure that public block access is deleted
successfully.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Tue, 12 Nov 2024 04:34:25 +0000 (10:04 +0530)]
rgw/s3-test: adding test to set, get, delete and then get
a bucket policy to ensure that delete correctly removes
the bucket policy
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Soumya Koduri [Wed, 23 Oct 2024 11:54:18 +0000 (17:24 +0530)]
Merge pull request #593 from soumyakoduri/wip-skoduri-lc-noncur
Updating lifecycle_noncur* tests to include objects with instance empty
Soumya Koduri [Wed, 9 Oct 2024 17:23:19 +0000 (22:53 +0530)]
Updating lifecycle_noncur* tests to include objects with instance empty
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Casey Bodley [Fri, 4 Oct 2024 21:21:04 +0000 (17:21 -0400)]
Merge pull request #591 from cbodley/wip-68292
s3: test GetObject with PartNumber and SSE-C encryption
Casey Bodley [Fri, 4 Oct 2024 20:27:16 +0000 (16:27 -0400)]
Merge pull request #589 from tobias-urdin/v2-presigned-get
Add v2 signature presigned get_object tests
Casey Bodley [Fri, 27 Sep 2024 18:16:05 +0000 (14:16 -0400)]
s3: test GetObject with PartNumber and SSE-C encryption
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 25 Sep 2024 15:29:01 +0000 (11:29 -0400)]
s3: add v2 signature presigned put_object tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Tobias Urdin [Wed, 25 Sep 2024 11:18:21 +0000 (13:18 +0200)]
Add v2 signature presigned get_object tests
This adds tests for get_object presigned URLs
using signature v2.
Also code formatting.
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
Casey Bodley [Tue, 3 Sep 2024 14:53:00 +0000 (10:53 -0400)]
Merge pull request #579 from galsalomon66/tracker_65651
Casey Bodley [Thu, 29 Aug 2024 14:50:47 +0000 (10:50 -0400)]
Merge pull request #528 from pritha-srivastava/wip-rgw-oidc-tests
rgw: adding tests for add_client_id_to_oidc_provider
galsalomon66 [Wed, 28 Aug 2024 09:48:09 +0000 (09:48 +0000)]
fix comments
Signed-off-by: galsalomon66 <gal.salomon@gmail.com>
Casey Bodley [Thu, 22 Aug 2024 18:39:30 +0000 (14:39 -0400)]
Merge pull request #578 from clwluvw/upload-part-copy
UploadPartCopy: add test for source bucket with policy
Gal Salomon [Mon, 19 Aug 2024 13:00:16 +0000 (16:00 +0300)]
fix the assert per empty results
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Pritha Srivastava [Mon, 16 Oct 2023 05:39:45 +0000 (11:09 +0530)]
rgw: adding tests for add_client_id_to_oidc_provider
and update_thumbprint_for oidc_provider.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Seena Fallah [Fri, 16 Aug 2024 12:30:17 +0000 (14:30 +0200)]
UploadPartCopy: add test for source bucket with policy
Ref: https://github.com/ceph/ceph/pull/59253
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Casey Bodley [Wed, 14 Aug 2024 13:44:16 +0000 (09:44 -0400)]
Merge pull request #577 from cbodley/wip-cross-tenant
s3: reenable tenanted bucket policy test
Casey Bodley [Tue, 13 Aug 2024 14:23:19 +0000 (10:23 -0400)]
s3: reenable tenanted bucket policy test
the before-call hook url-encodes the ':' part of tenanted bucket names
to resolve SignatureDoesNotMatch errors
removed the list-v2 version of the test since it isn't relevant to
bucket policy test coverage
add a new test case that creates the bucket under the tenanted user,
then uses the main client to access it
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 30 Jul 2024 12:26:23 +0000 (13:26 +0100)]
Merge pull request #572 from clwluvw/s3select-error
s3select: align error codes with the new AWS format
Casey Bodley [Fri, 26 Jul 2024 13:09:31 +0000 (14:09 +0100)]
Merge pull request #574 from clwluvw/sse-c-policy
BucketPolicy: add test for sse-c in conditions
Casey Bodley [Thu, 25 Jul 2024 14:33:14 +0000 (15:33 +0100)]
Merge pull request #573 from clwluvw/public-policy
BucketPolicy: donot allow NotPrincipal with Allow Effect
Seena Fallah [Tue, 23 Jul 2024 18:47:22 +0000 (20:47 +0200)]
BucketPolicy: decouple encryption tests from invalid algo and unencrypted
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 21:07:03 +0000 (23:07 +0200)]
BucketPolicy: add test for sse-c in conditions
Ref. https://github.com/ceph/ceph/pull/58689
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 18:51:10 +0000 (20:51 +0200)]
BlockPublicPolicy: add test when policy has principal
Ref. https://tracker.ceph.com/issues/67048
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 18:50:26 +0000 (20:50 +0200)]
PolicyStatus: add test for policy with Principal
Ref. https://github.com/ceph/ceph/pull/58686
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Fri, 19 Jul 2024 18:48:06 +0000 (20:48 +0200)]
BucketPolicy: donot allow NotPrincipal with Allow Effect
Ref. https://github.com/ceph/ceph/pull/58686
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Wed, 17 Jul 2024 15:04:21 +0000 (17:04 +0200)]
s3select: align error codes with the new AWS format
ref. https://github.com/ceph/ceph/pull/56864
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Casey Bodley [Fri, 5 Jul 2024 14:51:15 +0000 (15:51 +0100)]
Merge pull request #570 from cbodley/wip-66705
test Get/HeadObject with partNumber for single-multipart upload
Casey Bodley [Fri, 5 Jul 2024 14:04:39 +0000 (15:04 +0100)]
Merge pull request #561 from galsalomon66/fix_non_handled_error_resonse
Fix non handled error response
Casey Bodley [Thu, 4 Jul 2024 21:50:21 +0000 (22:50 +0100)]
Merge pull request #564 from linuxbox2/wip-cbodley-multipart-nostreaming
Wip cbodley multipart nostreaming
Matt Benjamin [Wed, 3 Jul 2024 13:42:37 +0000 (09:42 -0400)]
mark two tests that fail on dbstore
also add @pytest.mark.checksum for new checksum
tests
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Sat, 22 Jun 2024 21:42:21 +0000 (17:42 -0400)]
remove duplicate size assigment [rkhudov review]
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Fri, 3 May 2024 20:25:19 +0000 (16:25 -0400)]
add test_post_object_upload_checksum
this tests a two-megabyte binary upload with validated
(awscli-computed) SHA256 checksum, and also verifies failure when
a bad checksum is provided
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 1 May 2024 18:15:36 +0000 (14:15 -0400)]
add test_multipart_checksum_3parts
tests a full multipart upload cycle with 3 unique parts, which
verifies composite checksum computation and the logic to propagate
parts_count to ComleteMultipart
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 1 May 2024 18:05:52 +0000 (14:05 -0400)]
test_multipart_upload_sha256: work around failures re-trying complete-multipart
As described in https://tracker.ceph.com/issues/65746, retrying complete-multipart
after having attempted to complete the same upload with a bad checksum argument
fails with an internal error.
The status code is 500, but I'm unsure if it can be retried again, or whether
the upload can be aborted later.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Wed, 1 May 2024 17:59:09 +0000 (13:59 -0400)]
add "checksum" marker, since new checksum tests reference it
this removes a Pytest warning during execution
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Wed, 26 Jun 2024 14:50:28 +0000 (10:50 -0400)]
test Get/HeadObject with partNumber for single-multipart upload
test_multipart_get_part() tests 'normal' multipart uploads. add a new
test case for a multipart upload with a single part to tests the fix
for https://tracker.ceph.com/issues/66705
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 25 Jun 2024 13:12:21 +0000 (14:12 +0100)]
Merge pull request #569 from cbodley/wip-66655
requirements: unpin pytz version
Casey Bodley [Mon, 24 Jun 2024 17:26:23 +0000 (13:26 -0400)]
requirements: unpin pytz version
Fixes: https://tracker.ceph.com/issues/66655
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 14 May 2024 15:48:37 +0000 (16:48 +0100)]
Merge pull request #565 from bobham-bloomberg/FixListBucketsCtimeTest
Fix wrong assertion of the test: `test_buckets_list_ctime`
Sumedh A. Kulkarni [Tue, 5 Apr 2022 10:25:00 +0000 (04:25 -0600)]
Fix wrong assertion of the test: `test_buckets_list_ctime`
TestName:
s3tests_boto3.functional.test_s3:test_buckets_list_ctime
Problem:
The test creates 5 buckets for a user but in an assertion check,
it asserts false if any bucket of the user has CreationTime less
than a day prior to current time.
Due to this reason the test fails if the user has pre-existing
buckets older than a day.
Solution:
Assert only on the CreationTime of buckets that were created with
test execution.
Signed-off-by: Sumedh A. Kulkarni <sumedh.a.kulkarni@seagate.com>
Co-developed-by: Bob Ham <bham12@bloomberg.net>
Signed-off-by: Bob Ham <bham12@bloomberg.net>
Gal Salomon [Wed, 17 Apr 2024 15:20:37 +0000 (18:20 +0300)]
add handling for EventStreamError exception
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Gal Salomon [Tue, 16 Apr 2024 07:10:32 +0000 (10:10 +0300)]
a change is the RGW error-response require changes in s3-tests
Signed-off-by: Gal Salomon <gal.salomon@gmail.com>
Casey Bodley [Fri, 12 Apr 2024 17:12:41 +0000 (18:12 +0100)]
Merge pull request #537 from cbodley/wip-iam-user-apis
iam: add tests for account-based IAM apis
Casey Bodley [Wed, 27 Mar 2024 13:58:41 +0000 (13:58 +0000)]
Merge pull request #557 from yuvalif/wip-yuval-mpu-etag
test etag on mpu complete replies
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Yuval Lifshitz [Mon, 25 Mar 2024 16:45:06 +0000 (16:45 +0000)]
test etag on mpu complete replies
this is to cover the fix of: https://tracker.ceph.com/issues/58879
Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Matt Benjamin [Fri, 8 Mar 2024 15:10:47 +0000 (10:10 -0500)]
add tests for ObjectSizeGreater(Less)Than
Add tests for the new ObjectSizeGreaterThan and
ObjectSizeLessThan lifecycle operators.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Thu, 7 Mar 2024 19:27:13 +0000 (14:27 -0500)]
add test test_lifecycle_expiration_newer_noncurrent()
This verifies the new NewerNoncurrentVersions lifecycle filter
operator.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Wed, 13 Mar 2024 00:05:15 +0000 (20:05 -0400)]
sns: add test_sns.py for simple topic testing
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 12 Mar 2024 19:47:51 +0000 (15:47 -0400)]
iam: move iam_root, iam_alt_root fixtures to iam.py
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 1 Mar 2024 14:59:09 +0000 (09:59 -0500)]
s3: remove test_bucket_acl_no_grants()
aws doesn't consult acls for same-account access. rgw doesn't for
account users either
Fixes: https://github.com/ceph/s3-tests/issues/184
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 21 Feb 2024 14:36:06 +0000 (09:36 -0500)]
iam: test cross-account policy with assumed role
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 11 Feb 2024 16:51:17 +0000 (11:51 -0500)]
iam: add account tests for GroupPolicy apis
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 11 Feb 2024 16:50:43 +0000 (11:50 -0500)]
iam: add account tests for Group apis
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 6 Feb 2024 22:57:14 +0000 (17:57 -0500)]
iam: add account test for OpenIDConnectProvider apis
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 30 Jan 2024 23:17:17 +0000 (18:17 -0500)]
iam: test cross-account permissions
test the [iam alt root] user's access to buckets owned by [iam root]
using various policy principals and acl grantees
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 30 Jan 2024 23:16:40 +0000 (18:16 -0500)]
config: add [iam alt root] for an alt account's root user
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 4 Feb 2024 23:07:09 +0000 (18:07 -0500)]
iam: test managed role policy
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 26 Jan 2024 20:51:55 +0000 (15:51 -0500)]
iam: add account test for RolePolicy apis
adds test cases for the following iam actions:
* PutRolePolicy
* GetRolePolicy
* DeleteRolePolicy
* ListRolePolicies
verified to pass against aws when an account root user's credentials are
provided in the [iam] section of s3tests.conf
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 26 Jan 2024 20:23:40 +0000 (15:23 -0500)]
iam: add account tests for Role apis
adds test cases for the following iam actions:
* CreateRole
* GetRole
* ListRoles
* DeleteRole
* UpdateRole
verified to pass against aws when an account root user's credentials are
provided in the [iam] section of s3tests.conf
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 4 Feb 2024 23:06:39 +0000 (18:06 -0500)]
iam: test managed user policy
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 12 Jan 2024 03:49:54 +0000 (22:49 -0500)]
iam: add account tests for UserPolicy apis
adds test cases for the following iam actions:
* PutUserPolicy
* GetUserPolicy
* DeleteUserPolicy
* ListUserPolicies
verified to pass against aws when an account root user's credentials are
provided in the [iam] section of s3tests.conf
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 2 Jan 2024 00:11:24 +0000 (19:11 -0500)]
iam: test bucket policy principal for iam user with path
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 20 Dec 2023 19:17:35 +0000 (14:17 -0500)]
iam: add tests for AccessKey apis
adds test cases for the following iam actions:
* CreateAccessKey
* UpdateAccessKey
* DeleteAccessKey
* ListAccessKeys
verified to pass against aws when an account root user's credentials are
provided in the [iam] section of s3tests.conf
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 19 Dec 2023 15:26:19 +0000 (10:26 -0500)]
iam: add tests for User apis
adds test cases for the following iam actions:
* CreateUser
* GetUser
* UpdateUser
* DeleteUser
* ListUsers
verified to pass against aws when an account root user's credentials are
provided in the [iam] section of s3tests.conf
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 4 Feb 2024 23:25:31 +0000 (18:25 -0500)]
config: add [iam root] for an account root user
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 2 Jan 2024 00:08:10 +0000 (19:08 -0500)]
config: parse iam config during setup()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 12 Jan 2024 03:45:03 +0000 (22:45 -0500)]
iam: rename test_of_iam mark to iam_tenant
differentiate the test cases that expect a tenant-wide IAM api from new
ones that expect an account-wide api
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 12 Jan 2024 03:42:24 +0000 (22:42 -0500)]
config: add fixtures for iam name/path prefixes
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 12 Jan 2024 03:38:17 +0000 (22:38 -0500)]
fixtures: split setup() and configure()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Sun, 10 Mar 2024 14:43:36 +0000 (14:43 +0000)]
Merge pull request #555 from cbodley/wip-64822
test_headers: use fixture to hook request headers
Casey Bodley [Sun, 10 Mar 2024 14:39:26 +0000 (10:39 -0400)]
test_headers: use fixture to hook request headers
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 8 Mar 2024 19:14:19 +0000 (19:14 +0000)]
Merge pull request #547 from cbodley/wip-63724
s3: object lock tests for deletion of multipart objects
Casey Bodley [Thu, 7 Mar 2024 15:55:37 +0000 (15:55 +0000)]
Merge pull request #551 from clwluvw/bucket-public-block
BucketPublicAccessBlock: compatibility issues
Ali Maredia [Wed, 21 Feb 2024 17:29:17 +0000 (12:29 -0500)]
Merge pull request #552 from alimaredia/lc-utcnow-fix
replace datetime.now with datetime.utcnow()
Ali Maredia [Tue, 20 Feb 2024 17:17:32 +0000 (12:17 -0500)]
replace datetime.now with datetime.utcnow()
when the local timezone is not UTC and if it is a day behind,
lifecycle_header tests fails with 2 days not equal to 1
so replacing datetime.now() with datetime.utcnow()
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Casey Bodley [Fri, 9 Feb 2024 19:22:37 +0000 (14:22 -0500)]
s3: object lock tests for deletion of multipart objects
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Seena Fallah [Mon, 19 Feb 2024 21:43:43 +0000 (22:43 +0100)]
PublicAccessBlock: test access deny via bucket policy
Make sure 403 is returned when access is denied via s3:GetBucketPublicAccessBlock action on GetBucketPublicAccessBlock
Refs: https://github.com/ceph/ceph/pull/55652
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Seena Fallah [Mon, 19 Feb 2024 21:40:12 +0000 (22:40 +0100)]
PublicAccessBlock: test 404 on no block configuration
Make sure NoSuchPublicAccessBlockConfiguration is returned when no public block is configured on bucket:
Refs: https://github.com/ceph/ceph/pull/55652
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Casey Bodley [Mon, 12 Feb 2024 20:31:18 +0000 (20:31 +0000)]
Merge pull request #546 from jzhu116-bloomberg/wip-64340
add test case for object copy in versioning suspended bucket
Casey Bodley [Mon, 12 Feb 2024 19:51:43 +0000 (19:51 +0000)]
Merge pull request #544 from tobias-urdin/improve-presigned
Add more testing for presigned URLs
Tobias Urdin [Sun, 4 Feb 2024 14:28:28 +0000 (14:28 +0000)]
Add more testing for presigned URLs
This improves the testing for presigned URLs for
both get_object and put_object when using
generate_presigned_url().
It covers the case where you pass for example
a x-amz-acl (ACL in params for generated_presigned_url)
header that should be signed.
Tests the regression in [1].
[1] https://tracker.ceph.com/issues/64308
Signed-off-by: Tobias Urdin <tobias.urdin@binero.se>
Jane Zhu [Mon, 12 Feb 2024 17:44:49 +0000 (12:44 -0500)]
tag test_versioning_obj_suspended_copy with fails_on_dbstore
Signed-off-by: Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>
Jane Zhu [Fri, 9 Feb 2024 04:01:12 +0000 (23:01 -0500)]
add test case for object copy in versioning suspended bucket
Signed-off-by: Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>
Ali Maredia [Thu, 11 Jan 2024 18:59:03 +0000 (13:59 -0500)]
Merge pull request #533 from cbodley/wip-45736
304 Not Modified tests still expect etag header
Ali Maredia [Tue, 28 Nov 2023 20:53:16 +0000 (15:53 -0500)]
Merge pull request #532 from cbodley/wip-63537
object lock: test very large RetainUntilDate
Ali Maredia [Tue, 28 Nov 2023 15:48:47 +0000 (10:48 -0500)]
Merge pull request #491 from cbodley/wip-get-part
test Head/GetObject on completed multipart parts
Casey Bodley [Fri, 17 Feb 2023 15:03:59 +0000 (10:03 -0500)]
test Head/GetObject on completed multipart parts
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 21 Nov 2023 03:47:28 +0000 (22:47 -0500)]
304 Not Modified tests still expect etag header
test case for https://tracker.ceph.com/issues/45736
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 15 Nov 2023 21:31:52 +0000 (16:31 -0500)]
object lock: test very large RetainUntilDate
https://tracker.ceph.com/issues/63537 reported that large dates (with
year after 2107) got truncated when written. test with a later date, and
check that get_object_retention() gives back the date we put
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 9 Oct 2023 18:56:53 +0000 (19:56 +0100)]
Merge pull request #527 from cbodley/wip-63004
add test_post_object_wrong_bucket() for CVE-2023-43040
Casey Bodley [Wed, 27 Sep 2023 18:31:43 +0000 (14:31 -0400)]
add test_post_object_wrong_bucket()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Fri, 22 Sep 2023 14:53:42 +0000 (10:53 -0400)]
Merge pull request #524 from cbodley/wip-62013
lc: test transition of plain null version
Ali Maredia [Fri, 22 Sep 2023 14:52:28 +0000 (10:52 -0400)]
Merge pull request #525 from cbodley/wip-62919
boto2: fix byte vs. string comparison in verify_object
Casey Bodley [Thu, 21 Sep 2023 21:42:58 +0000 (17:42 -0400)]
boto2: copy configured_storage_classes() fix from boto3
some boto2 storage class tests are failing because the list returned by
configured_storage_classes() included an empty string
the boto3 version had an extra line that removes empty values; copy that
for boto2
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 21 Sep 2023 14:00:37 +0000 (10:00 -0400)]
boto2: fix byte vs. string comparison in verify_object
the storage class tests were failing on comparisons between the input
data and output data:
AssertionError: assert 'oFbdZvtRj' == b'oFbdZvtRj'
convert the byte representation back to string for comparison
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 21 Aug 2023 19:52:49 +0000 (15:52 -0400)]
Merge pull request #523 from tobias-urdin/http-options-presigned
Add test to verify HTTP OPTIONS on presigned URL
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Tobias Urdin [Wed, 2 Aug 2023 09:28:20 +0000 (09:28 +0000)]
Add test to verify HTTP OPTIONS on presigned URL
Related: https://tracker.ceph.com/issues/62033
Signed-off-by: Tobias Urdin <tobias.urdin@binero.com>
Casey Bodley [Fri, 4 Aug 2023 13:54:50 +0000 (09:54 -0400)]
lc: test transition of plain null version
for validating the fix of https://tracker.ceph.com/issues/62013
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 6 Jul 2023 15:26:28 +0000 (11:26 -0400)]
Merge pull request #522 from nadavMiz/boto3-tests-readme-clerify
Remove filtering from boto3 test example for simplicity