Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClearEntriesForPort (0.76 sec)

  1. pkg/proxy/conntrack/conntrack_test.go

    		}
    
    		ct = makeCT(nothingToDelete)
    		if err := ct.ClearEntriesForIP(tc.ip, v1.ProtocolUDP); err != nil {
    			t.Errorf("%s/nothing to delete: Unexpected error: %v", tc.name, err)
    		}
    	}
    }
    
    func TestClearEntriesForPort(t *testing.T) {
    	testCases := []struct {
    		name   string
    		port   int
    		isIPv6 bool
    
    		expectCommand string
    	}{
    		{
    			name:   "IPv4",
    			port:   8080,
    			isIPv6: false,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top