Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 345 for NewTest (0.1 sec)

  1. tests/integration/telemetry/policy/envoy_ratelimit_test.go

    )
    
    func TestRateLimiting(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			cleanup := setupEnvoyFilter(t, "testdata/enable_envoy_ratelimit.yaml")
    			defer cleanup()
    			sendTrafficAndCheckIfRatelimited(t)
    		})
    }
    
    func TestLocalRateLimiting(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tests/integration/pilot/istioctl_test.go

    // TestVersion does "istioctl version --remote=true" to verify the CLI understands the data plane version data
    func TestVersion(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			cfg := i.Settings()
    
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{Cluster: t.Environment().Clusters()[0]})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. pkg/scheduler/util/assumecache/assume_cache_test.go

    }
    
    func makeObj(name, version, namespace string) metav1.Object {
    	return &metav1.ObjectMeta{
    		Name:            name,
    		Namespace:       namespace,
    		ResourceVersion: version,
    	}
    }
    
    func newTest(t *testing.T) (ktesting.TContext, *AssumeCache, *testInformer) {
    	return newTestWithIndexer(t, "", nil)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. tests/integration/operator/install_test.go

    	command   []string
    	errString string
    }
    
    // TestInstallCommandInput tests istioctl install command with different input arguments
    func TestInstallCommandInput(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			istioCtl := istioctl.NewOrFail(ctx, ctx, istioctl.Config{})
    			testCases := []installTestCase{
    				{
    					command:   []string{"install", "--dry-run", "--revision", ""},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 14:30:43 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. tests/integration/ambient/baseline_test.go

    			t.Skip("https://github.com/istio/istio/pull/50182")
    		}
    
    		// TODO test from all source workloads as well
    		src.CallOrFail(t, opt)
    	})
    }
    
    func TestPodIP(t *testing.T) {
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		for _, src := range apps.All {
    			for _, srcWl := range src.WorkloadsOrFail(t) {
    				srcWl := srcWl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  6. tests/integration/security/authz_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/tests/common/jwt"
    )
    
    func TestAuthz_Principal(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			allowed := apps.Ns1.A
    			denied := apps.Ns2.A
    
    			from := allowed.Append(denied)
    			fromMatch := match.AnyServiceName(from.NamespacedNames())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. tests/integration/pilot/gw_topology_test.go

    	kubetest "istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/tests/integration/pilot/common"
    )
    
    func TestXFFGateway(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			inject := false
    			if t.Settings().Compatibility {
    				inject = true
    			}
    			gatewayNs := namespace.NewOrFail(t, t, namespace.Config{Prefix: "custom-gateway", Inject: inject})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. tests/integration/ambient/waypoint_test.go

    	kubetest "istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestWaypointStatus(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			client := t.Clusters().Default().GatewayAPI().GatewayV1beta1().GatewayClasses()
    
    			check := func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. tests/integration/security/sds_ingress/ingress_test.go

    // (4) verify that client using the newer CA cert is able to establish TLS connection
    // to deliver the HTTPS request.
    func TestSingleTlsGateway_SecretRotation(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			var (
    				credName = "testsingletlsgateway-secretrotation"
    				host     = "testsingletlsgateway-secretrotation.example.com"
    			)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  10. tests/integration/security/sds_ingress/quic/ingress_test.go

    // private key and server certificate for each TLS gateway. Verifies that client can communicate by
    // using both QUIC and TCP/TLS
    func TestTlsGatewaysWithQUIC(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			t.NewSubTest("tcp").Run(func(t framework.TestContext) {
    				ingressutil.RunTestMultiTLSGateways(t, inst, namespace.Future(&echo1NS))
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top