mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Add erasure and compression self-tests (#11918)
Ensure that we don't use potentially broken algorithms for critical functions, whether it be a runtime problem or implementation problem for a specific platform.
This commit is contained in:
@@ -412,6 +412,10 @@ func serverMain(ctx *cli.Context) {
|
||||
globalConsoleSys = NewConsoleLogger(GlobalContext)
|
||||
logger.AddTarget(globalConsoleSys)
|
||||
|
||||
// Perform any self-tests
|
||||
erasureSelfTest()
|
||||
compressSelfTest()
|
||||
|
||||
// Handle all server command args.
|
||||
serverHandleCmdArgs(ctx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user