S3: Add RequestTimeout in unittest.

This commit is contained in:
Zhang Huangbin
2023-09-05 17:34:55 +08:00
parent ae41d2f5c1
commit e735c69371
4 changed files with 9 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
package s3
import (
"time"
)
var testStore *Storage
func init() {
@@ -12,7 +16,7 @@ func init() {
AccessKey: "minioadmin",
SecretAccessKey: "minioadmin",
},
RequestTimeout: 10 * time.Second,
},
)
}