Repository navigation
test(compat): cover force-delete casing and 257-byte MRF refresh - #165
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds regression coverage for three compatibility cases tracked under
rustfs/backlog#2734:rustfs/backlog#3196): verifies thatDELETE /{bucket}withx-minio-force-delete: Trueremoves a non-empty bucket (204),Falsepreserves a non-empty bucket (409 BucketNotEmpty) and removes an empty bucket (204), and all-capsTRUEstays rejected (400 InvalidArgument) without removing objects.rustfs/backlog#3193): verifies thatPUT /{bucket}carryingx-amz-bucket-namespace: globalreturns200and creates a reachable bucket.admin.mrf-long-root-refresh(rustfs/backlog#3194): addsscripts/mrf_long_root_refresh.pyandtest_mrf_long_root_refresh.pyto verify that a 257-byte root access key can executePOST /rustfs/admin/v4/heal/mrf/responsibilities/actionsrefresh(200,"state": "refreshed") whileacceptUnverifiedRiskcontinues to reject >256-byte persisted operator actors (400 InvalidRequest).Verification
bash -n rustfs-s3-compat-test.shpython3 -B -m unittest test_mrf_long_root_refresh.py test_validation_migration.py test_check_shell_syntax.pypython3 scripts/validation_migration_review.py --require-completebash test_validation_s3_basic.sh