Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for texts (0.11 sec)

  1. istioctl/pkg/writer/envoy/configdump/endpoint_test.go

    )
    
    func TestPrintEndpointsSummary(t *testing.T) {
    	tests := []struct {
    		name   string
    		filter EndpointFilter
    	}{
    		{
    			name:   "emptyfilter",
    			filter: EndpointFilter{},
    		},
    		{
    			name: "portfilter",
    			filter: EndpointFilter{
    				Port: 8080,
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			gotOut := &bytes.Buffer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 12 02:25:59 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  2. cmd/endpoint_test.go

    						}
    					}
    				}
    			}
    			if err != nil && testCase.expectedErr == nil {
    				t.Errorf("Test %d: error: expected = <nil>, got = %v, testCase: %v", i+1, err, testCase)
    			}
    		})
    	}
    }
    
    // Tests get local peer functionality, local peer is supposed to only return one entry per minio service.
    // So it means that if you have say localhost:9000 and localhost:9001 as endpointArgs then localhost:9001
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:53:03 GMT 2024
    - 18.9K bytes
    - Viewed (1)
Back to top