Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mustGetPoolEndpoints (0.1 sec)

  1. cmd/erasure-healing_test.go

    	nDisks := 32
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	defer removeRoots(fsDirs)
    
    	pools := mustGetPoolEndpoints(0, fsDirs[:16]...)
    	pools = append(pools, mustGetPoolEndpoints(1, fsDirs[16:]...)...)
    
    	// Everything is fine, should return nil
    	objLayer, _, err := initObjectLayer(ctx, pools)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	nDisks := 1
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		return nil, "", err
    	}
    	obj, _, err := initObjectLayer(context.Background(), mustGetPoolEndpoints(0, fsDirs...))
    	if err != nil {
    		return nil, "", err
    	}
    
    	initAllSubsystems(ctx)
    
    	globalIAMSys.Init(ctx, obj, globalEtcdClient, 2*time.Second)
    	return obj, fsDirs[0], nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  3. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
Back to top