Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMinioMode (0.16 sec)

  1. cmd/utils_test.go

    		}
    	}
    }
    
    func TestGetMinioMode(t *testing.T) {
    	testMinioMode := func(expected string) {
    		if mode := getMinioMode(); mode != expected {
    			t.Fatalf("Expected %s got %s", expected, mode)
    		}
    	}
    	globalIsDistErasure = true
    	testMinioMode(globalMinioModeDistErasure)
    
    	globalIsDistErasure = false
    	globalIsErasure = true
    	testMinioMode(globalMinioModeErasure)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top