mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 00:38:16 +00:00
fix(s3): allow Object Lock on versioned buckets and reject invalid checksums (#2024)
This commit is contained in:
@@ -29,8 +29,10 @@
|
||||
# - Raw requests: Authenticated and anonymous
|
||||
# - Conditional writes: If-Match/If-None-Match for PUT/Copy
|
||||
# - Atomic read/write: Concurrent read/write consistency
|
||||
# - Object Lock: Enable on versioned existing buckets
|
||||
# - Checksum: SHA256 and CRC64NVME validation on PutObject
|
||||
#
|
||||
# Total: 376 tests
|
||||
# Total: 379 tests
|
||||
|
||||
test_basic_key_count
|
||||
test_bucket_create_naming_bad_short_one
|
||||
@@ -456,3 +458,10 @@ test_atomic_dual_write_1mb
|
||||
test_atomic_dual_write_4mb
|
||||
test_atomic_dual_write_8mb
|
||||
test_atomic_multipart_upload_write
|
||||
|
||||
# Object Lock tests
|
||||
test_object_lock_put_obj_lock_enable_after_create
|
||||
|
||||
# Checksum validation tests
|
||||
test_object_checksum_sha256
|
||||
test_object_checksum_crc64nvme
|
||||
|
||||
@@ -6,16 +6,12 @@
|
||||
#
|
||||
# Unimplemented features:
|
||||
# - Bucket Logging: Access logging
|
||||
# - Object Lock: Enable after create
|
||||
# - Checksum: Full checksum validation
|
||||
# - Checksum: POST Object form upload checksum
|
||||
# - Bucket Ownership Controls
|
||||
|
||||
# Failed tests
|
||||
test_bucket_create_delete_bucket_ownership
|
||||
test_bucket_logging_owner
|
||||
test_object_checksum_crc64nvme
|
||||
test_object_checksum_sha256
|
||||
test_object_lock_put_obj_lock_enable_after_create
|
||||
test_post_object_upload_checksum
|
||||
test_put_bucket_logging
|
||||
test_put_bucket_logging_errors
|
||||
|
||||
Reference in New Issue
Block a user