Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testDoAddRun (0.94 sec)

  1. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    	testDoAddRun(t, buildMockConf(true), testNSName, pod, ns)
    }
    
    func TestCmdAddTwoContainersWithAnnotation(t *testing.T) {
    	pod, ns := buildFakePodAndNSForClient()
    
    	pod.Spec.Containers[0].Name = "mockContainer"
    	pod.Spec.Containers[1].Name = "istio-proxy"
    	pod.ObjectMeta.Annotations[injectAnnotationKey] = "false"
    
    	testDoAddRun(t, buildMockConf(true), testNSName, pod, ns)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top