Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prepareTestBackend (0.09 sec)

  1. cmd/test-utils_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	// create an instance of TestServer.
    	testServer := TestServer{cancel: cancel}
    	// 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)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top