Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetRemotePeers (0.06 sec)

  1. cmd/endpoint_test.go

    		localPeer := GetLocalPeer(zendpoints, "", "9000")
    		if localPeer != testCase.expectedResult {
    			t.Fatalf("Test %d: expected: %v, got: %v", i+1, testCase.expectedResult, localPeer)
    		}
    	}
    }
    
    func TestGetRemotePeers(t *testing.T) {
    	tempGlobalMinioPort := globalMinioPort
    	defer func() {
    		globalMinioPort = tempGlobalMinioPort
    	}()
    	globalMinioPort = "9000"
    
    	testCases := []struct {
    		endpointArgs   []string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top