Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMeshDataplaneSyncHostIPSetsAddsNothingIfPodHasNoIPs (0.26 sec)

  1. cni/pkg/nodeagent/server_test.go

    		"foo-v4",
    	).Return([]netip.Addr{}, nil)
    
    	err := m.syncHostIPSets([]*corev1.Pod{pod1, pod2})
    	assert.NoError(t, err)
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    func TestMeshDataplaneSyncHostIPSetsAddsNothingIfPodHasNoIPs(t *testing.T) {
    	pod := buildConvincingPod(false)
    
    	pod.Status.PodIP = ""
    	pod.Status.PodIPs = []corev1.PodIP{}
    
    	fakeCtx := context.Background()
    	server := &fakeServer{}
    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