Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestOptions (0.68 sec)

  1. pilot/pkg/networking/core/route/route_test.go

    		out.IstioVersion.Minor = 21
    		return out
    	}
    
    	gatewayNames := sets.New("some-gateway")
    
    	t.Run("for virtual service", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    		t.Setenv("ISTIO_DEFAULT_REQUEST_TIMEOUT", "0ms")
    
    		routes, err := route.BuildHTTPRoutesForVirtualService(node(cg), virtualServicePlain, serviceRegistry, nil, 8080, gatewayNames, route.RouteOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_test.go

    	t.Helper()
    	listeners := buildListeners(t, TestOptions{Services: services}, proxy)
    	verifyFilterChainMatch(t, xdstest.ExtractListener(model.VirtualInboundListenerName, listeners))
    }
    
    func testInboundListenerConfigWithConflictPort(t *testing.T, proxy *model.Proxy, services ...*model.Service) {
    	t.Helper()
    	listeners := buildListeners(t, TestOptions{Services: services}, proxy)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/sidecar_simulation_test.go

    		name := tt.name
    		if tt.proxy == nil {
    			tt.proxy = proxy
    		} else {
    			name += "-" + tt.proxy.Metadata.IstioVersion
    		}
    
    		t.Run(name, func(t *testing.T) {
    			s := core.NewConfigGenTest(t, core.TestOptions{
    				Services:  tt.services,
    				Instances: tt.instances,
    				Configs:   tt.configs,
    				MeshConfig: func() *meshconfig.MeshConfig {
    					m := mesh.DefaultMeshConfig()
    					if tt.disableInboundPassthrough {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top