Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for serverClose (0.07 sec)

  1. cni/pkg/plugin/plugin_test.go

    }
    
    func TestCmdAddAmbientEnabledOnNS(t *testing.T) {
    	serverClose := setupCNIEventClientWithMockServer(false)
    
    	cniConf := buildMockConf(true)
    
    	pod, ns := buildFakePodAndNSForClient()
    	ns.ObjectMeta.Labels = map[string]string{label.IoIstioDataplaneMode.Name: constants.DataplaneModeAmbient}
    
    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    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