Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsConnectionRefused (1.52 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/net/util_test.go

    	for _, tc := range testCases {
    		if tc.expect != IPNetEqual(tc.ipnet1, tc.ipnet2) {
    			t.Errorf("Expect equality of %s and %s be to %v", tc.ipnet1.String(), tc.ipnet2.String(), tc.expect)
    		}
    	}
    }
    
    func TestIsConnectionRefused(t *testing.T) {
    	testCases := []struct {
    		err    error
    		expect bool
    	}{
    		{
    			&url.Error{Err: &net.OpError{Err: syscall.ECONNRESET}},
    			false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top