- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for SetForTest (0.24 sec)
-
pilot/pkg/model/typed_xds_cache_test.go
ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(secondEntry.Key()), }) } func TestCleanIndexesOnEvict(t *testing.T) { test.SetForTest(t, &features.XDSCacheMaxSize, 1) test.SetForTest(t, &features.XDSCacheIndexClearInterval, 5*time.Millisecond) zeroTime := time.Time{} res := &discovery.Resource{Name: "test"} req := &PushRequest{Start: zeroTime.Add(time.Duration(1))}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 29 20:35:31 UTC 2024 - 18.2K bytes - Viewed (0) -
pilot/pkg/xds/endpoints/ep_filters_test.go
}}, }, }, IsMtlsDisabled: false, SubsetName: "enable-tls", }, }, } func TestEndpointsByNetworkFilter(t *testing.T) { test.SetForTest(t, &features.MultiNetworkGatewayAPI, true) test.SetForTest(t, &features.PreferHBONESend, true) env := environment(t) env.Env().InitNetworksManager(env.Discovery) // The tests below are calling the endpoints filter from each one of the
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 01:17:58 UTC 2024 - 26.8K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
} assert.Equal(t, sets.SortedList(have), sets.SortedList(wantAdded)) assert.Equal(t, sets.SortedList(haveRemoved), sets.SortedList(wantRemoved)) } } func TestWorkloadReconnect(t *testing.T) { test.SetForTest(t, &features.EnableAmbient, true) t.Run("ondemand", func(t *testing.T) { expect := buildExpect(t) s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
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/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) -
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/xds/bench_test.go
}, } func configureBenchmark(t test.Failer) { for _, s := range istiolog.Scopes() { if s.Name() == benchmarkScope.Name() { continue } s.SetOutputLevel(istiolog.NoneLevel) } test.SetForTest(t, &features.EnableXDSCaching, false) } func BenchmarkInitPushContext(b *testing.B) { configureBenchmark(b) for _, tt := range testCases { b.Run(tt.Name, func(b *testing.B) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 22 18:13:40 UTC 2024 - 19.7K bytes - Viewed (0)