Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestShouldRespond (0.18 sec)

  1. pkg/xds/server_test.go

    func (p *TestProxy) UpdateWatchedResource(url string, f func(*WatchedResource) *WatchedResource) {
    	p.WatchedResources[url] = f(p.WatchedResources[url])
    }
    
    func (p *TestProxy) GetID() string {
    	return ""
    }
    
    func TestShouldRespond(t *testing.T) {
    	tests := []struct {
    		name     string
    		proxy    *TestProxy
    		request  *discovery.DiscoveryRequest
    		response bool
    	}{
    		{
    			name: "initial request",
    			proxy: &TestProxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top