Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestSyncProxyRulesRepeated (0.2 sec)

  1. pkg/proxy/nftables/proxier_test.go

    			}
    			runPacketFlowTests(t, tc.line, nft, testNodeIPs, tcFlowTests)
    		})
    	}
    }
    
    // Test calling syncProxyRules() multiple times with various changes
    func TestSyncProxyRulesRepeated(t *testing.T) {
    	nft, fp := NewFakeProxier(v1.IPv4Protocol)
    
    	baseRules := dedent.Dedent(`
    		add table ip kube-proxy { comment "rules for kube-proxy" ; }
    
    		add chain ip kube-proxy cluster-ips-check
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier_test.go

    		t.Errorf("Found wrong number of endpoints: expected %d, got %d", expectedEndpoints, numEndpoints)
    	}
    }
    
    // Test calling syncProxyRules() multiple times with various changes
    func TestSyncProxyRulesRepeated(t *testing.T) {
    	logger, _ := klogtesting.NewTestContext(t)
    	ipt := iptablestest.NewFake()
    	fp := NewFakeProxier(ipt)
    	metrics.RegisterMetrics(kubeproxyconfig.ProxyModeIPTables)
    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