Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestSAN (0.15 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			},
    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			pod := v1.Pod{}
    			pod.Name = "testpod"
    			pod.Namespace = "testns"
    			pod.Spec.ServiceAccountName = "testsan"
    			pod.Labels = c.podLabels
    			pod.Spec.NodeName = "fake"
    			// All should get this
    			c.expected[labelutil.LabelHostname] = "fake"
    
    			loc := pkgmodel.ConvertLocality(c.ctl.locality)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. pilot/pkg/xds/cds_test.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestCDS(t *testing.T) {
    	s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	ads := s.ConnectADS().WithType(v3.ClusterType)
    	ads.RequestResponseAck(t, nil)
    }
    
    func TestSAN(t *testing.T) {
    	labels := map[string]string{"app": "test"}
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod",
    			Namespace: "default",
    			Labels:    labels,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 02:06:39 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top