Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestMeshDataplaneRemovePodRemovesAnnotation (0.25 sec)

  1. cni/pkg/nodeagent/server_test.go

    	pod, err = fakeClientSet.CoreV1().Pods("test").Get(fakeCtx, "test", metav1.GetOptions{})
    	assert.NoError(t, err)
    	assert.Equal(t, len(pod.Annotations), 0)
    }
    
    func TestMeshDataplaneRemovePodRemovesAnnotation(t *testing.T) {
    	pod := podWithAnnotation()
    	fakeCtx := context.Background()
    
    	server := &fakeServer{}
    	server.Start(fakeCtx)
    
    	server.On("RemovePodFromMesh",
    		fakeCtx,
    		pod,
    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