Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 345 for NewTest (0.12 sec)

  1. tests/integration/security/fuzz/fuzz_test.go

    		} else {
    			t.Logf("no potential policy bypass requests found")
    		}
    
    	default:
    		t.Fatalf("unknown fuzzer %s", fuzzer)
    	}
    }
    
    func TestFuzzAuthorization(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := "fuzz-authz"
    			namespace.ClaimOrFail(t, t, ns)
    
    			t.ConfigIstio().YAML(ns, authzDenyPolicy).ApplyOrFail(t)
    			t.Logf("authorization policy applied")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. tests/integration/ambient/gateway_conformance_test.go

    	"gateway-conformance-app-backend",
    	"gateway-conformance-web-backend",
    	"gateway-conformance-mesh",
    }
    
    var skippedTests = map[string]string{}
    
    func TestGatewayConformance(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			// Precreate the GatewayConformance namespaces, and apply the Image Pull Secret to them.
    			if ctx.Settings().Image.PullSecret != "" {
    				for _, ns := range conformanceNamespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tests/integration/security/egress_gateway_origination_test.go

    // It uses CredentialName set in DestinationRule API to fetch secrets from k8s API server
    func TestSimpleTlsOrigination(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleNetwork(). // https://github.com/istio/istio/issues/37134
    		Run(func(t framework.TestContext) {
    			var (
    				credName        = "tls-credential-cacert"
    				fakeCredName    = "fake-tls-credential-cacert"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. tests/integration/security/ca_custom_root/trust_domain_validation_test.go

    // - works for both HTTP and TCP protocol
    // - works for pass through filter chains
    func TestTrustDomainValidation(t *testing.T) {
    	framework.NewTest(t).Run(
    		func(ctx framework.TestContext) {
    			testNS := apps.EchoNamespace.Namespace
    
    			ctx.ConfigIstio().YAML(testNS.Name(), fmt.Sprintf(policy, testNS.Name())).ApplyOrFail(ctx)
    
    			trustDomains := map[string]struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. tests/integration/pilot/multi_version_revision_test.go

    // should test all possible revisioned namespace pairings to test traffic between all versions
    func TestMultiVersionRevision(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		// Requires installation of CPs from manifests, won't succeed
    		// if existing CPs have different root cert
    		Label(label.CustomSetup).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/proxyconfig/proxyconfig_test.go

            A: "1"
            B: "2"
          `
    		})).
    		Run()
    }
    
    type proxyConfigInstance struct {
    	namespace string
    	config    string
    }
    
    func TestProxyConfig(t *testing.T) {
    	framework.NewTest(t).
    		RequireIstioVersion("1.13").
    		Run(func(ctx framework.TestContext) {
    			ns := namespace.NewOrFail(ctx, ctx, namespace.Config{
    				Prefix: "pc-test",
    				Inject: true,
    			})
    			cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tests/integration/pilot/workloadentry_test.go

    // Each case tests a different way of using local resources to reach remote destination(s).
    func TestWorkloadEntryGateway(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresMinClusters(2).
    		Run(func(t framework.TestContext) {
    			crd.DeployGatewayAPIOrSkip(t)
    			i := istio.GetOrFail(t, t)
    			type gwAddr struct {
    				ip   string
    				port int
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tests/integration/ambient/wasm_test.go

    	case "service":
    		return "Service", "\"\"", targetName
    	default:
    		return "", "", ""
    	}
    }
    
    func TestWasmPluginConfigurations(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			testCases := []struct {
    				desc         string
    				name         string
    				testHostname string
    				targetType   string
    				targetName   string
    			}{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers_test.go

    		name string
    
    		mediaType  string
    		out        []byte
    		outErrs    []error
    		req        *http.Request
    		statusCode int
    		object     runtime.Object
    
    		wantCode    int
    		wantHeaders http.Header
    	}
    	newTest := func() test {
    		return test{
    			name:      "compress on gzip",
    			out:       largePayload,
    			mediaType: "application/json",
    			req: &http.Request{
    				Header: http.Header{
    					"Accept-Encoding": []string{"gzip"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  10. tests/integration/ambient/cacert_rotation_test.go

    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/security/pkg/pki/util"
    	"istio.io/istio/tests/integration/security/util/cert"
    )
    
    func TestIntermediateCertificateRefresh(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.Skip("https://github.com/istio/istio/issues/49648")
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top