Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetService (0.44 sec)

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

    			svcCount++
    			serviceMap[svc.Hostname] = true
    		}
    	}
    
    	if svcCount != len(serviceMap) {
    		t.Fatal("Return services does not match ground truth")
    	}
    }
    
    func TestGetService(t *testing.T) {
    	aggregateCtl := buildMockController()
    
    	// Get service from mockAdapter1
    	svc := aggregateCtl.GetService(mock.HelloService.Hostname)
    	if svc == nil {
    		t.Fatal("Fail to get service")
    	}
    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