Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 71 for NewTest (0.2 sec)

  1. tests/integration/pilot/piggyback_test.go

    	"istio.io/istio/pkg/test/framework/components/istioctl"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestPiggyback(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		RequireIstioVersion("1.10.0").
    		Run(func(t framework.TestContext) {
    			workloads := []echo.Instances{apps.A, apps.Sotw}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. tests/integration/pilot/multiplecontrolplanes/main_test.go

    			})).
    		Run()
    }
    
    // TestMultiControlPlane sets up two distinct istio control planes and verify if resources and traffic are properly isolated
    func TestMultiControlPlane(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			// configure peerauthentication per system namespace
    			restrictUserGroups(t)
    
    			testCases := []struct {
    				name       string
    				statusCode int
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tests/integration/security/mtls_healthcheck_test.go

    // Currently this test can only pass on Prow with a real GKE cluster, and fail
    // on Minikube. For more details, see https://github.com/istio/istio/issues/12754.
    func TestMtlsHealthCheck(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "healthcheck", Inject: true})
    			for _, testCase := range []struct {
    				name    string
    				rewrite bool
    			}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. tests/integration/security/policy_attachment_only/jwt_gateway_test.go

    	"istio.io/istio/pkg/test/framework/components/istio/ingress"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/tests/common/jwt"
    )
    
    func TestGatewayAPIRequestAuthentication(t *testing.T) {
    	framework.NewTest(t).
    		Label(label.IPv4). // https://github.com/istio/istio/issues/35835
    		Run(func(t framework.TestContext) {
    			crd.DeployGatewayAPIOrSkip(t)
    			config.New(t).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. tests/integration/pilot/cni/cniversionskew_test.go

    // This is to simulate the case where CNI and Istio control plane versions are out of sync during upgrade.
    func TestCNIVersionSkew(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			if !i.Settings().EnableCNI {
    				t.Skip("CNI version skew test is only tested when CNI is enabled.")
    			}
    			for _, v := range versions {
    				installCNIOrFail(t, v)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. tests/integration/security/remote_jwks/remote_jwks_test.go

    )
    
    // TestRemoteJwks tests always delegate Envoy to fetch http jwks server.
    func TestRemoteJwks(t *testing.T) {
    	payload1 := strings.Split(jwt.TokenIssuer1, ".")[1]
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := apps.EchoNamespace.Namespace
    
    			cases := []struct {
    				name          string
    				policyFile    string
    				delay         string
    				timeout       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. tests/integration/security/ca_custom_root/trust_domain_alias_secure_naming_test.go

    // "server-naked-foo" succeeds, and requests to "server-naked-bar" fails.
    func TestTrustDomainAliasSecureNaming(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			testNS := apps.EchoNamespace.Namespace
    
    			t.ConfigIstio().YAML(testNS.Name(), POLICY).ApplyOrFail(t)
    
    			for _, cluster := range t.Clusters() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    		RequireMinVersion(17).
    		Setup(common.InstallMCSCRDs).
    		Setup(istio.Setup(&i, enableMCSAutoExport)).
    		Setup(common.DeployEchosFunc("se", &echos)).
    		Run()
    }
    
    func TestAutoExport(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			serviceExportGVR := common.KubeSettings(ctx).ServiceExportGVR()
    			// Verify that ServiceExport is created automatically for services.
    			ctx.NewSubTest("exported").RunParallel(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. tests/integration/pilot/headers_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/resource/config/apply"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func TestProxyHeaders(t *testing.T) {
    	framework.NewTest(t).
    		RequireIstioVersion("1.19").
    		Run(func(t framework.TestContext) {
    			ns := namespace.NewOrFail(t, t, namespace.Config{Prefix: "proxy-headers", Inject: true})
    			cfg := echo.Config{
    				Namespace: ns,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. tests/integration/pilot/revisions/revision_tag_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	kubetest "istio.io/istio/pkg/test/kube"
    )
    
    func TestRevisionTags(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			tcs := []struct {
    				name     string
    				tag      string
    				revision string
    				nsLabel  string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top