Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetEndpointHost (0.12 sec)

  1. pilot/pkg/networking/util/util_test.go

    			addr := BuildAddress(test.addr, test.port)
    			if !reflect.DeepEqual(addr, test.expected) {
    				t.Errorf("expected add %v, but got %v", test.expected, addr)
    			}
    		})
    	}
    }
    
    func TestGetEndpointHost(t *testing.T) {
    	tests := []struct {
    		name     string
    		endpoint *endpoint.LbEndpoint
    		want     string
    	}{
    		{
    			name: "socket address",
    			endpoint: &endpoint.LbEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top