Repository navigation
test(s3): fix S3C-206 custom-metadata fixture - #166
Merged
Merged
Conversation
S3C-206 sent a caption containing two MIME-encoded words but expected the single encoded value. RustFS preserves the metadata value it receives, so the case failed on release/1.0.7 even though the product behavior is correct. Send the expected single value and refresh the reviewed digest.
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.
Problem
S3C-206 (
CustomMetadata) sends:{"k":"v","caption":"=?UTF-8?B?5Lit?= =?UTF-8?B?5paH?="}but expects the returned metadata to be the single encoded value:
RustFS preserves the metadata value it receives, so the case failed on release/1.0.7 in the latest full run even though the product behavior is correct. This is a test-fixture expectation error, not a product defect (full report: rustfs/backlog#3307).
Fix
Send the single encoded value the case already expects, so the test genuinely checks metadata round-trip preservation. Refresh the reviewed
rustfs-s3-compat-test.shdigest and note the correction inevidence_basis.Verification
No live server was run for this test-only fixture correction; S3C-206 should pass against any server that preserves custom metadata.