Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestOptions (0.13 sec)

  1. pilot/pkg/networking/core/cluster_builder_test.go

    						GroupVersionKind: gvk.DestinationRule,
    						Name:             "acme",
    						Namespace:        "default",
    					},
    					Spec: tt.destRule,
    				}
    			}
    			cg := NewConfigGenTest(t, TestOptions{
    				Instances:      instances,
    				ConfigPointers: []*config.Config{cfg},
    				Services:       []*model.Service{tt.service},
    				MeshConfig:     tt.meshConfig,
    			})
    			proxy := cg.SetupProxy(nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    				GroupVersionKind: gvk.PeerAuthentication,
    				Name:             policyName,
    				Namespace:        TestServiceNamespace,
    			},
    			Spec: c.peerAuthn,
    		})
    	}
    
    	cg := NewConfigGenTest(c.t, TestOptions{
    		Services:   []*model.Service{service},
    		Instances:  instances,
    		Configs:    configs,
    		MeshConfig: c.mesh,
    	})
    
    	var proxy *model.Proxy
    	switch c.nodeType {
    	case model.SidecarProxy:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/gateway_test.go

    				t.Errorf("got diff: %v", diff)
    			}
    		})
    	}
    }
    
    func TestCreateGatewayHTTPFilterChainOpts(t *testing.T) {
    	cg := NewConfigGenTest(t, TestOptions{})
    	testCases := []struct {
    		name              string
    		node              *pilot_model.Proxy
    		server            *networking.Server
    		routeName         string
    		proxyConfig       *meshconfig.ProxyConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    		len(requestBody), requestBody)
    	if !<-bodyOkay {
    		// already failed.
    		return
    	}
    	conn.Close()
    	<-gotCloseNotify
    }
    
    func TestOptions(t *testing.T) { run(t, testOptions, []testMode{http1Mode}) }
    func testOptions(t *testing.T, mode testMode) {
    	uric := make(chan string, 2) // only expect 1, but leave space for 2
    	mux := NewServeMux()
    	mux.HandleFunc("/", func(w ResponseWriter, r *Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top