Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for expectPodRemovedFromIPSet (0.44 sec)

  1. cni/pkg/nodeagent/server_test.go

    	fakeIPSetDeps := ipset.FakeNLDeps()
    	set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps}
    
    	m := getFakeDPWithIPSet(server, fakeClientSet, set)
    	expectPodRemovedFromIPSet(fakeIPSetDeps, pod.Status.PodIPs)
    
    	err := m.RemovePodFromMesh(fakeCtx, pod, false)
    	assert.NoError(t, err)
    
    	fakeIPSetDeps.AssertExpectations(t)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top