mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
disallow EC:0 if not set during server startup (#17141)
This commit is contained in:
@@ -567,13 +567,13 @@ func TestHealingDanglingObject(t *testing.T) {
|
||||
// Set globalStoragClass.STANDARD to EC:4 for this test
|
||||
saveSC := globalStorageClass
|
||||
defer func() {
|
||||
globalStorageClass = saveSC
|
||||
globalStorageClass.Update(saveSC)
|
||||
}()
|
||||
globalStorageClass = storageclass.Config{
|
||||
globalStorageClass.Update(storageclass.Config{
|
||||
Standard: storageclass.StorageClass{
|
||||
Parity: 4,
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
nDisks := 16
|
||||
fsDirs, err := getRandomDisks(nDisks)
|
||||
|
||||
Reference in New Issue
Block a user