mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
allow sha256 payload to be configurable for object perf test (#18712)
Signed-off-by: Zhou Ting <ting.z.zhou@intel.com>
This commit is contained in:
@@ -39,6 +39,7 @@ type speedTestOpts struct {
|
||||
autotune bool
|
||||
storageClass string
|
||||
bucketName string
|
||||
enableSha256 bool
|
||||
}
|
||||
|
||||
// Get the max throughput and iops numbers.
|
||||
@@ -163,6 +164,7 @@ func objectSpeedTest(ctx context.Context, opts speedTestOpts) chan madmin.SpeedT
|
||||
duration: opts.duration,
|
||||
storageClass: opts.storageClass,
|
||||
bucketName: opts.bucketName,
|
||||
enableSha256: opts.enableSha256,
|
||||
}
|
||||
|
||||
results := globalNotificationSys.SpeedTest(ctx, sopts)
|
||||
|
||||
Reference in New Issue
Block a user