Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 206 for NewTest (0.26 sec)

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

    package pilot
    
    import (
    	"testing"
    
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/tests/integration/pilot/common"
    )
    
    func TestTraffic(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			common.RunAllTrafficTests(t, i, apps)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 890 bytes
    - Viewed (0)
  5. tests/integration/ambient/traffic_test.go

    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/echo/common/deployment"
    	"istio.io/istio/tests/integration/pilot/common"
    )
    
    func TestTraffic(t *testing.T) {
    	framework.NewTest(t).
    		TopLevel().
    		Run(func(t framework.TestContext) {
    			apps := deployment.NewOrFail(t, t, deployment.Config{
    				NoExternalNamespace: true,
    				IncludeExtAuthz:     false,
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/analysis/analysis_test.go

    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestWait(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		Run(func(t framework.TestContext) {
    			ns := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "default",
    				Inject: true,
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. tests/integration/operator/verify_test.go

    import (
    	"strings"
    	"testing"
    
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/framework/components/istioctl"
    )
    
    func TestPostInstallControlPlaneVerification(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			cs := t.Environment().Clusters().Default()
    			cleanupInClusterCRs(t, cs)
    			t.Cleanup(func() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. tests/integration/ambient/untaint/untaint_test.go

    	"testing"
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestTaintsRemoved(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			// make cni not deploy to one of the nodes
    			taintNodes(ctx)
    
    			// make sure all nodes were untainted
    			retry.UntilSuccessOrFail(t, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. tests/integration/security/external_ca/reachability_test.go

    )
    
    // TestReachability verifies:
    // (a) Different workloads after getting their certificates signed by the K8s CA are successfully able to communicate with each other
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    			from := apps.EchoNamespace.A
    			to := apps.EchoNamespace.B
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. tests/integration/security/filebased_tls_origination/destination_rule_tls_test.go

    // This sets up a client and server with appropriate cert config and ensures we can successfully send a message.
    func TestDestinationRuleTls(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			ns := appNS
    
    			// Setup our destination rule, enforcing TLS to "server". These certs will be created/mounted below.
    			t.ConfigIstio().YAML(ns.Name(), `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top