ceph / s3-tests

Compatibility tests for S3 clones
MIT License
296 stars 287 forks source link

Test cloud transitions with subfolders #539

Closed petrutlucian94 closed 1 month ago

petrutlucian94 commented 8 months ago

RGW cloud sync operations were unable to handle subfolders due to the fact that slashes were url encoded, causing mismatches between the source and destination object names.

We're updating the cloud transiton test, which exercises a similar code path. We'll ensure that subfolders are transferred properly.

petrutlucian94 commented 8 months ago

Test result:

py run-test: commands[0] | pytest s3tests_boto3/functional/test_s3.py::test_lifecycle_cloud_transition
======================================== test session starts =========================================
platform linux -- Python 3.10.12, pytest-7.4.4, pluggy-1.3.0
cachedir: .tox/py/.pytest_cache
rootdir: /mnt/data/workspace/s3-tests
configfile: pytest.ini
collected 1 item

s3tests_boto3/functional/test_s3.py

.                                                          [100%]

=================================== 1 passed in 241.14s (0:04:01) ====================================
______________________________________________ summary _______________________________________________
  py: commands succeeded
  congratulations :)
petrutlucian94 commented 6 months ago

@cbodley hi, I was wondering if you're still interested in this simple test that covers subfolders.

petrutlucian94 commented 1 month ago

Closing this for now, please let me know if I should reopen it.