Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for fsDirs (0.22 sec)

  1. cmd/erasure-object_test.go

    	const numDisks = 4
    	path := t.TempDir()
    
    	var fsDirs []string
    	for i := 1; i <= numDisks; i++ {
    		fsDirs = append(fsDirs, filepath.Join(path, fmt.Sprintf("disk%d", i)))
    	}
    
    	objLayer, _, err := initObjectLayer(ctx, mustGetPoolEndpoints(0, fsDirs...))
    	if err != nil {
    		removeRoots(fsDirs)
    		t.Fatal(err)
    	}
    
    	// cleaning up of temporary test directories
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	defer cancel()
    
    	resetGlobalHealState()
    	defer resetGlobalHealState()
    
    	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)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom_test.go

    		return nil, nil, err
    	}
    	return objLayer, fsDirs, nil
    }
    
    func TestPoolMetaValidate(t *testing.T) {
    	objLayer1, fsDirs, err := prepareErasurePools()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer removeRoots(fsDirs)
    
    	meta := objLayer1.(*erasureServerPools).poolMeta
    	pools := objLayer1.(*erasureServerPools).serverPools
    
    	objLayer2, fsDirs, err := prepareErasurePools()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. 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
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  5. cmd/format-erasure_test.go

    	benchmarkInitStorageDisksN(b, 32*204)
    }
    
    func benchmarkInitStorageDisksN(b *testing.B, nDisks int) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    	fsDirs, err := getRandomDisks(nDisks)
    	if err != nil {
    		b.Fatal(err)
    	}
    
    	endpoints := mustGetNewEndpoints(0, 16, fsDirs...)
    	b.RunParallel(func(pb *testing.PB) {
    		endpoints := endpoints
    		for pb.Next() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. maven-core/src/site/resources/design/2.1-lifecycle-refactor.graffle

    f1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica-Oblique;} {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural \f0\i\fs24 \cf0 deprecated,\ marked for refactor}Bounds{{584.742, 252.673}, {104, 28}}ClassShapedGraphicFi.45520344376564026Rot{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica-Oblique;} {\colortbl;\red255\green255\blue255;}...
    Others
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Mar 11 17:19:02 GMT 2017
    - 96.7K bytes
    - Viewed (0)
  7. cmd/jwt_test.go

    }
    
    // Tests web request authenticator.
    func TestWebRequestAuthenticate(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	creds := globalActiveCred
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. cmd/signature-v2_test.go

    // Tests presigned v2 signature.
    func TestDoesPresignedV2SignatureMatch(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	now := UTCNow()
    
    	var (
    		accessKey = globalActiveCred.AccessKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  9. cmd/server-startup-msg_test.go

    // Test printing server common message.
    func TestPrintServerCommonMessage(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	apiEndpoints := []string{"http://127.0.0.1:9000"}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. cmd/auth-handler_test.go

    func TestIsReqAuthenticated(t *testing.T) {
    	ctx, cancel := context.WithCancel(GlobalContext)
    	defer cancel()
    
    	objLayer, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(fsDir)
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	initAllSubsystems(ctx)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top