mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Add crawler delay config + dynamic config values (#11018)
This commit is contained in:
@@ -1693,7 +1693,7 @@ func TestXLStorageVerifyFile(t *testing.T) {
|
||||
reader := bytes.NewReader(data)
|
||||
for {
|
||||
// Using io.CopyBuffer instead of this loop will not work for us as io.CopyBuffer
|
||||
// will use bytes.Buffer.ReadFrom() which will not do shardSize'ed writes causing error.
|
||||
// will use bytes.Buffer.ReadConfig() which will not do shardSize'ed writes causing error.
|
||||
n, err := reader.Read(shard)
|
||||
w.Write(shard[:n])
|
||||
if err == nil {
|
||||
|
||||
Reference in New Issue
Block a user