Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cni/pkg/iptables/iptables_e2e_test.go

    	t.Log("starting cleanup")
    	// Cleanup, should work
    	assert.NoError(t, iptConfigurator.DeleteInpodRules())
    	validateIptablesClean(t)
    
    	t.Log("second run")
    	// Add again, should still work
    	assert.NoError(t, iptConfigurator.CreateInpodRules(scopes.CNIAgent, probeSNATipv4, probeSNATipv6, false))
    }
    
    func validateIptablesClean(t *testing.T) {
    	cur := iptablesSave(t)
    	if strings.Contains(cur, "ISTIO") {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top