Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCmdAddPodEnabledNamespaceDisabled (0.13 sec)

  1. cni/pkg/plugin/plugin_test.go

    	testDoAddRun(t, cniConf, testNSName, pod, ns)
    
    	wasCalled := serverClose()
    	// Pod has an explicit opt-out label, should not be added to ambient mesh
    	assert.Equal(t, wasCalled, false)
    }
    
    func TestCmdAddPodEnabledNamespaceDisabled(t *testing.T) {
    	serverClose := setupCNIEventClientWithMockServer(false)
    
    	cniConf := buildMockConf(true)
    
    	pod, ns := buildFakePodAndNSForClient()
    
    	app := corev1.Container{Name: "app"}
    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