Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for NewTest (0.14 sec)

  1. tests/integration/pilot/gateway_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    	ingressutil "istio.io/istio/tests/integration/security/sds_ingress/util"
    )
    
    func TestGateway(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			crd.DeployGatewayAPIOrSkip(t)
    
    			t.NewSubTest("unmanaged").Run(UnmanagedGatewayTest)
    			t.NewSubTest("managed").Run(ManagedGatewayTest)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    		Setup(common.InstallMCSCRDs).
    		Setup(istio.Setup(&i, enableMCSServiceDiscovery)).
    		Setup(common.DeployEchosFunc("mcs", &echos)).
    		Run()
    }
    
    func TestClusterLocal(t *testing.T) {
    	framework.NewTest(t).
    		RequireIstioVersion("1.11").
    		Run(func(t framework.TestContext) {
    			serviceA = match.ServiceName(echo.NamespacedName{Name: common.ServiceA, Namespace: echos.Namespace})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

            given:
            createPassingFailingTest()
            fails("check")
            when:
            renameTests()
            fails("check")
            then:
            testResult.assertTestClassesExecuted('SomeTest', 'NewTest')
        }
    
        @ToBeFixedForConfigurationCache(bottomSpecs = "XCTestTestFrameworkIntegrationTest")
        def "honors test case filter from --tests flag"() {
            given:
            createPassingFailingTest()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. tests/integration/pilot/ingress_test.go

    		t.Skip("IngressClass not supported")
    	}
    }
    
    // TestIngress tests that we can route using standard Kubernetes Ingress objects.
    func TestIngress(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			skipIfIngressClassUnsupported(t)
    			// Set up secret contain some TLS certs for *.example.com
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  8. tests/integration/security/egress_sidecar_tls_origination_test.go

    // It uses CredentialName set in DestinationRule API to fetch secrets from k8s API server.
    func TestSidecarMutualTlsOrigination(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			var (
    				credNameGeneric  = "mtls-credential-generic"
    				fakeCredName     = "fake-mtls-credential"
    				credWithCRL      = "mtls-credential-generic-valid-crl"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. tests/integration/security/pass_through_filter_chain_test.go

    	"istio.io/istio/pkg/test/framework/components/echo/match"
    )
    
    // TestPassThroughFilterChain tests the authN and authZ policy on the pass through filter chain.
    func TestPassThroughFilterChain(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			type expect struct {
    				port echo.Port
    				// Plaintext will be sent from Naked pods.
    				plaintextSucceeds bool
    				// MTLS will be sent from all pods other than Naked.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. tests/integration/pilot/tunneling_test.go

    	},
    	{
    		configDir: "gateway/tls/istio-mutual",
    	},
    	{
    		configDir: "gateway/tls/passthrough",
    	},
    }
    
    func TestTunnelingOutboundTraffic(t *testing.T) {
    	framework.
    		NewTest(t).
    		RequireIstioVersion("1.15.0").
    		Run(func(ctx framework.TestContext) {
    			meshNs := apps.A.NamespaceName()
    			externalNs := apps.External.Namespace.Name()
    
    			applyForwardProxyConfigMaps(ctx, externalNs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top