disable connectDisks loop under testing (#14920)

avoids races during tests, keeps tests predictable
This commit is contained in:
Harshavardhana authored and GitHub committed 2022-05-16 05:36:00 -07:00
1 parent b0e2c2da78
commit 03f8b25b50
3 files changed
+9 -1

No files matched your search

+3
View File
@@ -139,6 +139,9 @@ var (
// Indicates if the running minio is in gateway mode.
globalIsGateway = false
// Indicates if server code should go through testing path.
globalIsTesting = false
// Name of gateway server, e.g S3, NAS etc
globalGatewayName = ""