Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EnsureSynced (0.12 sec)

  1. pilot/pkg/xds/delta_test.go

    	s.MemRegistry.SetEndpoints(edsIncSvc, "",
    		newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    	// Wait until the above debounce, to ensure we can precisely check XDS responses without spurious pushes
    	s.EnsureSynced(t)
    
    	ads := s.ConnectDeltaADS().WithID("sidecar~127.0.0.1~test.default~default.svc.cluster.local")
    
    	// Initially we get everything
    	ads.Request(&discovery.DeltaDiscoveryRequest{
    		ResourceNamesSubscribe: []string{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. pilot/test/xds/fake.go

    func (f *FakeDiscoveryServer) T() test.Failer {
    	return f.t
    }
    
    // EnsureSynced checks that all ConfigUpdates sent have been established
    // This does NOT ensure that the change has been sent to all proxies; only that PushContext is updated
    // Typically, if trying to ensure changes are sent, its better to wait for the push event.
    
    func (f *FakeDiscoveryServer) EnsureSynced(t test.Failer) {
    	c := f.Discovery.InboundUpdates.Load()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. pilot/pkg/xds/eds_test.go

    	addTestClientEndpoints(m)
    
    	m.AddHTTPService(edsIncSvc, edsIncVip, 8080)
    	m.SetEndpoints(edsIncSvc, "", newEndpointWithAccount("127.0.0.1", "hello-sa", "v1"))
    	// Let initial updates settle
    	s.EnsureSynced(t)
    
    	adscConn := s.Connect(&model.Proxy{Locality: util.ConvertLocality(asdcLocality), IPAddresses: []string{"10.10.10.10"}}, nil, watchAll)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top