- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for initObjectLayer (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/erasure-metadata-utils_test.go
ctx, cancel := context.WithCancel(t.Context()) defer cancel() nDisks := 16 disks, err := getRandomDisks(nDisks) if err != nil { t.Fatal(err) } objLayer, _, err := initObjectLayer(ctx, mustGetPoolEndpoints(0, disks...)) if err != nil { removeRoots(disks) t.Fatal(err) } defer removeRoots(disks) z := objLayer.(*erasureServerPools) testShuffleDisks(t, z) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
cmd/erasure-server-pool-decom_test.go
if err != nil { return nil, nil, err } pools := mustGetPoolEndpoints(0, fsDirs[:16]...) pools = append(pools, mustGetPoolEndpoints(1, fsDirs[16:]...)...) objLayer, _, err := initObjectLayer(context.Background(), pools) if err != nil { removeRoots(fsDirs) return nil, nil, err } return objLayer, fsDirs, nil } func TestPoolMetaValidate(t *testing.T) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.8K bytes - Click Count (0) -
cmd/test-utils_test.go
initAllSubsystems(ctx) return newErasureServerPools(ctx, endpointServerPools) } // initObjectLayer - Instantiates object layer and returns it. func initObjectLayer(ctx context.Context, endpointServerPools EndpointServerPools) (ObjectLayer, []StorageAPI, error) { objLayer, err := newTestObjectLayer(ctx, endpointServerPools) if err != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0) -
cmd/object-api-listobjects_test.go
} } }) } } // Initialize FS backend for the benchmark. func initFSObjectsB(disk string, t *testing.B) (obj ObjectLayer) { obj, _, err := initObjectLayer(context.Background(), mustGetPoolEndpoints(0, disk)) if err != nil { t.Fatal(err) } newTestConfig(globalMinioDefaultRegion, obj) initAllSubsystems(GlobalContext) return obj }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 76.1K bytes - Click Count (0)