Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCNIPluginServerPrefersCNIProvidedPodIP (0.21 sec)

  1. cni/pkg/nodeagent/cni-watcher_test.go

    		assert.Error(t, err)
    		assert.Equal(t, true, strings.Contains(err.Error(), "unexpectedly not enrolled in ambient"))
    		assert.Equal(t, p, nil)
    	})
    }
    
    func TestCNIPluginServerPrefersCNIProvidedPodIP(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top