- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for SetForTest (0.14 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) -
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/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) -
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/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)