Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RemoveService (0.14 sec)

  1. pilot/pkg/xds/delta_test.go

    	// On remove, just get the removal
    	s.MemRegistry.RemoveService("test-1.default")
    	resp = ads.ExpectResponse()
    	assertResources(resp, "inbound|80||") // currently we always send the inbound stuff. Not ideal, but acceptable
    	assert.Equal(t, resp.RemovedResources, []string{"outbound|80||test-1.default"})
    
    	// Another removal should behave the same
    	s.MemRegistry.RemoveService("eds.test.svc.cluster.local")
    	resp = ads.ExpectResponse()
    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/pkg/serviceregistry/aggregate/controller_test.go

    			t.Fatalf("Service %s ClusterVIPs actual %v, expected %v", svc.Hostname,
    				svc.ClusterVIPs.Addresses, ClusterVIPs[svc.Hostname])
    		}
    	}
    
    	registry2.RemoveService(mock.HelloService.Hostname)
    	// List Services from aggregate controller
    	services = aggregateCtl.Services()
    	// Now verify ClusterVIPs for each service
    	ClusterVIPs = map[host.Name]map[cluster.ID][]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top