Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newXLStorageTestSetup (0.16 sec)

  1. cmd/os-reliable_test.go

    package cmd
    
    import (
    	"testing"
    )
    
    // Tests - mkdirAll()
    func TestOSMkdirAll(t *testing.T) {
    	// create xlStorage test setup
    	_, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	if err = mkdirAll("", 0o777, ""); err != errInvalidArgument {
    		t.Fatal("Unexpected error", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. cmd/erasure_test.go

    	diskPaths := make([]string, dataBlocks+parityBlocks)
    	disks := make([]StorageAPI, len(diskPaths))
    	var err error
    	for i := range diskPaths {
    		disks[i], diskPaths[i], err = newXLStorageTestSetup(tb)
    		if err != nil {
    			return nil, err
    		}
    		err = disks[i].MakeVol(context.Background(), "testbucket")
    		if err != nil {
    			return nil, err
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top