Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 71 for NewTest (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tests/integration/security/normalization_test.go

    			}
    			if err != nil {
    				t.Errorf("failed to unescape percent encoded path %s: %v", input, err)
    			}
    		}
    		percentEncodedCases = append(percentEncodedCases, expect{in: input, out: output})
    	}
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			cases := []struct {
    				name         string
    				ntype        meshconfig.MeshConfig_ProxyPathNormalization_NormalizationType
    				expectations []expect
    			}{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. tests/integration/pilot/cni_race_test.go

    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/shell"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    func TestCNIRaceRepair(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			if !i.Settings().EnableCNI {
    				t.Skip("CNI race condition mitigation is only tested when CNI is enabled.")
    			}
    			c := t.Clusters().Default()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. pkg/test/framework/integration/framework_test.go

    	componentCloseStart time.Time
    	componentCloseEnd   time.Time
    
    	runChildrenParallel bool
    	children            []*test
    }
    
    func (tst *test) Run(t *testing.T) {
    	t.Helper()
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.NewSubTest(tst.name).Run(tst.runInternal)
    		})
    
    	if err := tst.doCheck(); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/mirror_test.go

    				threshold:           0.0,
    				expectedDestination: apps.External.All,
    			},
    		},
    	})
    }
    
    func runMirrorTest(t *testing.T, options mirrorTestOptions) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			for _, c := range options.cases {
    				t.NewSubTest(c.name).Run(func(t framework.TestContext) {
    					mirrorHost := options.mirrorHost
    					if len(mirrorHost) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. tests/integration/security/cacert_rotation/main_test.go

      meshConfig:
        defaultConfig:
          proxyMetadata:
            PROXY_CONFIG_XDS_AGENT: "true"
    `
    	cfg.ControlPlaneValues = cfgYaml
    }
    
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. tests/integration/security/ca_custom_root/secure_naming_test.go

    //
    //	is used for data plane to control plane TLS authentication.
    //
    // - Secure naming information is respected in the mTLS handshake.
    func TestSecureNaming(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    
    			testNamespace := apps.EchoNamespace.Namespace
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. tests/integration/operator/uninstall_test.go

    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const deletionTimeout = 5 * time.Minute
    
    func TestReconcileDelete(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			// For positive casse, use minimal profile, iop file will be deleted
    			t.NewSubTest("delete-iop-success").Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top