- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for SetForTest (0.39 sec)
-
pilot/pkg/serviceregistry/kube/controller/network_test.go
"istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/test/util/retry" "istio.io/istio/pkg/util/sets" ) func TestNetworkUpdateTriggers(t *testing.T) { test.SetForTest(t, &features.MultiNetworkGatewayAPI, true) meshNetworks := mesh.NewFixedNetworksWatcher(nil) c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{ ClusterID: constants.DefaultClusterName,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 10.7K bytes - Viewed (0) -
pilot/pkg/xds/proxy_dependencies_test.go
t.Fatalf("Got needs push = %v, expected %v", got, tt.want) } }) } // test for gateway proxy dependencies with PILOT_FILTER_GATEWAY_CLUSTER_CONFIG enabled. test.SetForTest(t, &features.FilterGatewayClusterConfig, true) test.SetForTest(t, &features.JwksFetchMode, jwt.Envoy) const ( fooSvc = "foo" extensionSvc = "extension" jwksSvc = "jwks" )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.5K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_builder_test.go
}) proxy := cg.SetupProxy(nil) proxy.Metadata = &model.NodeMetadata{Labels: map[string]string{"app": "foo"}} proxy.Labels = proxy.Metadata.Labels proxy.SidecarScope = tt.sidecarScope test.SetForTest(t, &features.EnableTLSOnSidecarIngress, true) listeners := cg.Listeners(proxy) virtualInbound := xdstest.ExtractListener("virtualInbound", listeners)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 24.7K bytes - Viewed (0) -
pilot/pkg/model/policyattachment_test.go
}, enableSelectorPolicies: false, expected: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { test.SetForTest(t, &features.EnableSelectorBasedK8sGatewayPolicy, tt.enableSelectorPolicies) nsName := types.NamespacedName{Name: "policy1", Namespace: "default"} matcher := tt.selection.ShouldAttachPolicy(mockKind, nsName, tt.policy)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 8.3K bytes - Viewed (0) -
pilot/pkg/xds/mesh_network_test.go
"istio.io/istio/pkg/network" "istio.io/istio/pkg/ptr" "istio.io/istio/pkg/slices" "istio.io/istio/pkg/test" "istio.io/istio/pkg/test/util/retry" ) func TestNetworkGatewayUpdates(t *testing.T) { test.SetForTest(t, &features.MultiNetworkGatewayAPI, true) pod := &workload{ kind: Pod, name: "app", namespace: "pod", ip: "10.10.10.10", port: 8080, metaNetwork: "network-1",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 16:59:05 UTC 2024 - 24.6K bytes - Viewed (0) -
pilot/pkg/xds/deltaadstest.go
"istio.io/istio/pilot/pkg/model" v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pkg/test" ) func NewDeltaAdsTest(t test.Failer, conn *grpc.ClientConn) *DeltaAdsTest { test.SetForTest(t, &features.DeltaXds, true) return NewDeltaXdsTest(t, conn, func(conn *grpc.ClientConn) (DeltaDiscoveryClient, error) { xds := discovery.NewAggregatedDiscoveryServiceClient(conn)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6.9K bytes - Viewed (0) -
pilot/pkg/model/network_test.go
"istio.io/istio/pkg/test/scopes" "istio.io/istio/pkg/test/util/assert" "istio.io/istio/pkg/test/util/retry" "istio.io/istio/pkg/util/sets" ) func TestGatewayHostnames(t *testing.T) { test.SetForTest(t, &model.MinGatewayTTL, 30*time.Millisecond) ttl := uint32(0) // second gwHost := "test.gw.istio.io" workingDNSServer := newFakeDNSServer(ttl, sets.New(gwHost))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/bootstrap/platform/gcp_test.go
GCPProject: "env_pid", GCPProjectNumber: "env_pn", GCPLocation: "env_location", GCPCluster: "env_cluster", }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { test.SetForTest(t, &GCPStaticMetadata, tt.env) shouldFillMetadata, projectIDFn, numericProjectIDFn, clusterLocationFn, clusterNameFn, instanceNameFn, instanceIDFn, instanceTemplateFn, createdByFn = tt.shouldFill, tt.projectIDFn,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 00:37:33 UTC 2023 - 17.7K bytes - Viewed (0) -
pkg/bootstrap/instance_test.go
annotations: map[string]string{ "sidecar.istio.io/statsCompression": "unknown", }, }, } test.SetForTest(t, &version.Info.Version, "binary-1.0") for _, c := range cases { t.Run("Bootstrap-"+c.base, func(t *testing.T) { test.SetForTest(t, &features.EnableDeferredClusterCreation, c.enableDefferedClusterCreation) out := t.TempDir() if c.setup != nil { c.setup() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 19.5K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
discoveryType: cluster.Cluster_EDS, }, } for _, tt := range cases { t.Run(tt.name, func(t *testing.T) { g := NewWithT(t) test.SetForTest(t, &features.FilterGatewayClusterConfig, false) test.SetForTest(t, &features.EnableRedisFilter, tt.redisEnabled) cg := NewConfigGenTest(t, TestOptions{Services: []*model.Service{service}})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0)