- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getRandomDisks (0.09 sec)
-
cmd/erasure-healing_test.go
globalStorageClass.Update(saveSC) }() globalStorageClass.Update(storageclass.Config{ Standard: storageclass.StorageClass{ Parity: 4, }, }) nDisks := 16 fsDirs, err := getRandomDisks(nDisks) if err != nil { t.Fatal(err) } defer removeRoots(fsDirs) // Everything is fine, should return nil objLayer, _, err := initObjectLayer(ctx, mustGetPoolEndpoints(0, fsDirs...))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 49K bytes - Viewed (0) -
cmd/erasure-server-pool-decom_test.go
package cmd import ( "context" "testing" ) func prepareErasurePools() (ObjectLayer, []string, error) { nDisks := 32 fsDirs, err := getRandomDisks(nDisks) if err != nil { return nil, nil, err } pools := mustGetPoolEndpoints(0, fsDirs[:16]...) pools = append(pools, mustGetPoolEndpoints(1, fsDirs[16:]...)...)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 01 14:38:46 UTC 2024 - 4.8K bytes - Viewed (0) -
cmd/admin-handlers_test.go
} // initTestObjLayer - Helper function to initialize an Erasure-based object // layer and set globalObjectAPI. func initTestErasureObjLayer(ctx context.Context) (ObjectLayer, []string, error) { erasureDirs, err := getRandomDisks(16) if err != nil { return nil, nil, err } endpoints := mustGetPoolEndpoints(0, erasureDirs...) globalPolicySys = NewPolicySys() objLayer, err := newErasureServerPools(ctx, endpoints)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 13.9K bytes - Viewed (0) -
cmd/test-utils_test.go
queryValue["suffix"] = suffixes queryValue["events"] = events return makeTestTargetURL(endPoint, bucketName, "", queryValue) } // getRandomDisks - Creates a slice of N random disks, each of the form - minio-XXX func getRandomDisks(n int) ([]string, error) { var erasureDisks []string for i := 0; i < n; i++ { path, err := os.MkdirTemp(globalTestTmpDir, "minio-") if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)