Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for MakeService (0.18 sec)

  1. pilot/pkg/serviceregistry/aggregate/controller_test.go

    func buildMockControllerForMultiCluster() (*Controller, *memory.ServiceDiscovery, *memory.ServiceDiscovery) {
    	discovery1 := memory.NewServiceDiscovery(mock.HelloService)
    
    	discovery2 := memory.NewServiceDiscovery(mock.MakeService(mock.ServiceArgs{
    		Hostname:        mock.HelloService.Hostname,
    		Address:         "10.1.2.0",
    		ServiceAccounts: []string{},
    		ClusterID:       "cluster-2",
    	}), mock.WorldService)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	t.Parallel()
    	ns := "ns-test"
    
    	hostname := kube.ServiceHostname(testService, ns, defaultFakeDomainSuffix)
    
    	var sds model.ServiceDiscovery = ctl
    	// "test", ports: http-example on 80
    	makeService(testService, ns, ctl, t)
    
    	eventually(t, func() bool {
    		out := sds.Services()
    
    		// Original test was checking for 'protocolTCP' - which is incorrect (the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	expectedServices := []*model.Service{
    		makeService("*.istio.io", "httpDNSRR", constants.UnspecifiedIP, map[string]int{"http-port": 80, "http-alt-port": 8080}, true, model.DNSRoundRobinLB),
    		makeService("*.google.com", "httpDNS", constants.UnspecifiedIP, map[string]int{"http-port": 80, "http-alt-port": 8080}, true, model.DNSLB),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
              }
            };
        service.startAsync();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        protected void run() throws Exception {}
      }
    
      public void testStopWhileStarting_runNotCalled() throws Exception {
        final CountDownLatch started = new CountDownLatch(1);
        FakeService service =
            new FakeService() {
              @Override
              protected void startUp() throws Exception {
                super.startUp();
                started.await();
              }
            };
        service.startAsync();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top