- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for SetForTest (0.15 sec)
-
pkg/test/util.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 05 01:20:59 UTC 2024 - 1.9K bytes - Viewed (0) -
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) -
pkg/test/util_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 19 12:03:45 UTC 2022 - 838 bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter_test.go
return &nodeTainterTestServer{ client: client, t: t, pc: pc, nc: nc, } } func TestNodeUntainter(t *testing.T) { setupLogging() test.SetForTest(t, &features.EnableNodeUntaintControllers, true) s := newNodeUntainterTestServer(t) s.addTaintedNodes(t, "node1", "node2", "node3") s.addPod(t, "node3", true, map[string]string{"k8s-app": "other-app"}, "")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.1K 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/xds/vm_test.go
// TestRegistration is an e2e test for registration. Most tests are in autoregister package, but this // exercises the full XDS flow. func TestRegistration(t *testing.T) { // TODO: allow fake XDS to be "authenticated" test.SetForTest(t, &features.ValidateWorkloadEntryIdentity, false) ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{}) ds.Store().Create(config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.WorkloadGroup,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 2.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/multicluster_test.go
verifyControllers(t, mc, 1, "delete remote controller") } func Test_KubeSecretController_ExternalIstiod_MultipleClusters(t *testing.T) { test.SetForTest(t, &features.ExternalIstiod, true) test.SetForTest(t, &features.InjectionWebhookConfigName, "") mockserviceController := newMockserviceController() clientset := kube.NewFakeClient() stop := test.NewStop(t) s := server.New()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 6.7K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/serviceexportcache_test.go
} func newTestServiceExportCache(t *testing.T, clusterLocalMode ClusterLocalMode) (*serviceExportCacheImpl, *model.EndpointIndex) { t.Helper() istiotest.SetForTest(t, &features.EnableMCSServiceDiscovery, true) istiotest.SetForTest(t, &features.EnableMCSClusterLocal, clusterLocalMode == alwaysClusterLocal) c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{ ClusterID: testCluster,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 14 18:50:38 UTC 2023 - 9.1K bytes - Viewed (0) -
tests/integration/security/policy_attachment_only/jwt_gateway_test.go
})). BuildAll(nil, apps.A.Append(apps.B).Services()). Apply() t.NewSubTest("gateway-authn-policy-attachment-only").Run(func(t framework.TestContext) { test.SetForTest(t, &features.EnableSelectorBasedK8sGatewayPolicy, false) cases := []struct { name string customizeCall func(opts *echo.CallOptions, to echo.Target) }{ { name: "deny without token",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 9.7K bytes - Viewed (0)