Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make EnableSha256 in mc perf object test configurable #257

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

moting9
Copy link
Contributor

@moting9 moting9 commented Dec 25, 2023

current mc perf test hardcode DisableContentSha256 as true, this PR is to make it configurable by mc cmd.
cmd/perf-tests.go
97 @@ -95,7 +95,7 @@ func selfSpeedTest(ctx context.Context, opts speedTestOpts) (SpeedTestResult, er
98 userMetadata[globalObjectPerfUserMetadata] = "true" // Bypass S3 API freeze
99 popts := minio.PutObjectOptions{
100 UserMetadata: userMetadata,
101 - DisableContentSha256: true,

perf-object.go Outdated Show resolved Hide resolved
@moting9 moting9 changed the title Make disableContentSha256 in mc perf object test configurable Make EnableSha256 in mc perf object test configurable Dec 27, 2023
@harshavardhana harshavardhana merged commit 4c378b0 into minio:main Dec 30, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants