Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newTestConfig (0.09 sec)

  1. cmd/test-utils_test.go

    	// return FS/Erasure object layer and temp backend.
    	objLayer, disks, err := prepareTestBackend(ctx, instanceType)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// set new server configuration.
    	if err = newTestConfig(globalMinioDefaultRegion, objLayer); err != nil {
    		t.Fatalf("%s", err)
    	}
    
    	return initTestServerWithBackend(ctx, t, testServer, objLayer, disks)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer obj.Shutdown(context.Background())
    
    	// initialize the server and obtain the credentials and root.
    	// credentials are necessary to sign the HTTP request.
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("Unable to initialize server config. %s", err)
    	}
    
    	defer removeRoots(fsDirs)
    
    	z := obj.(*erasureServerPools)
    	er := z.serverPools[0].sets[0]
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. cmd/object-api-listobjects_test.go

    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
    }
    
    // BenchmarkListObjects - Run ListObject Repeatedly and benchmark.
    func BenchmarkListObjects(b *testing.B) {
    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