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:
Zhou Ting
2023-12-30 15:56:50 +08:00
committed by GitHub
parent a50ea92c64
commit 31d16f6cc2
6 changed files with 9 additions and 1 deletions

View File

@@ -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)