Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetHasRandomFully (0.11 sec)

  1. pkg/proxy/iptables/proxier_test.go

    	}
    }
    
    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)
    			fp := NewFakeProxier(ipt)
    			fp.syncProxyRules()
    
    			expectedFmt := dedent.Dedent(`
    				-A KUBE-POSTROUTING -m mark ! --mark 0x4000/0x4000 -j RETURN
    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