Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for RequestResponseAck (0.17 sec)

  1. pilot/pkg/xds/lds_test.go

    // TestLDS is running LDS tests.
    func TestLDS(t *testing.T) {
    	t.Run("sidecar", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    		ads := s.ConnectADS().WithType(v3.ListenerType)
    		ads.RequestResponseAck(t, nil)
    	})
    
    	// 'router' or 'gateway' type of listener
    	t.Run("gateway", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{ConfigString: mustReadfolder(t, "tests/testdata/config")})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pilot/pkg/xds/cds_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"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)
  3. pilot/pkg/xds/ecds_test.go

    	})
    
    	ads := s.ConnectADS().WithType(v3.ExtensionConfigurationType)
    	wantExtensionConfigName := "extension-config"
    	md := model.NodeMetadata{
    		ClusterID: constants.DefaultClusterName,
    	}
    	res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    		Node: &core.Node{
    			Id:       ads.ID,
    			Metadata: md.ToStruct(),
    		},
    		ResourceNames: []string{wantExtensionConfigName},
    	})
    
    	var ec core.TypedExtensionConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pkg/istio-agent/agent_test.go

    		if err := test.Wrap(func(t test.Failer) {
    			conn := setupDownstreamConnectionUDS(t, a.AgentConfig.XdsUdsPath)
    			xdsc := xds.NewAdsTest(t, conn).WithMetadata(meta)
    			_ = xdsc.RequestResponseAck(t, nil)
    		}); err == nil {
    			t.Fatalf("connect success with wrong CA")
    		}
    
    		// change ROOT CA, XDS will success
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top