Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestMasqueradeRule (0.34 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    				t.Logf("actual ipvs state: %v", ipvs)
    				t.Logf("expected ipvs state: %v", test.expectedIPVS)
    				t.Errorf("unexpected IPVS state")
    			}
    		})
    	}
    }
    
    func TestMasqueradeRule(t *testing.T) {
    	for _, testcase := range []bool{false, true} {
    		_, ctx := ktesting.NewTestContext(t)
    		ipt := iptablestest.NewFake().SetHasRandomFully(testcase)
    		ipvs := ipvstest.NewFake()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier_test.go

    			expected := tc.dropRule + kubeForwardChainRules
    			assertIPTablesChainEqual(t, getLine(), utiliptables.TableFilter, kubeForwardChain, expected, fp.iptablesData.String())
    		})
    	}
    }
    
    func TestMasqueradeRule(t *testing.T) {
    	for _, randomFully := range []bool{false, true} {
    		t.Run(fmt.Sprintf("randomFully %t", randomFully), func(t *testing.T) {
    			ipt := iptablestest.NewFake().SetHasRandomFully(randomFully)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top