Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for NewTest (0.1 sec)

  1. tests/integration/ambient/baseline_test.go

    			t.Skip("https://github.com/istio/istio/pull/50182")
    		}
    
    		// TODO test from all source workloads as well
    		src.CallOrFail(t, opt)
    	})
    }
    
    func TestPodIP(t *testing.T) {
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		for _, src := range apps.All {
    			for _, srcWl := range src.WorkloadsOrFail(t) {
    				srcWl := srcWl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  2. tests/integration/ambient/waypoint_test.go

    	kubetest "istio.io/istio/pkg/test/kube"
    	"istio.io/istio/pkg/test/scopes"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestWaypointStatus(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			client := t.Clusters().Default().GatewayAPI().GatewayV1beta1().GatewayClasses()
    
    			check := func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. pkg/test/framework/test.go

    	minIstioVersion           string
    	minKubernetesMinorVersion uint
    	topLevel                  bool
    
    	ctx *testContext
    	tc  context2.Context
    	ts  traceapi.Span
    }
    
    // NewTest returns a new test wrapper for running a single test.
    func NewTest(t *testing.T) Test {
    	rtMu.Lock()
    	defer rtMu.Unlock()
    
    	if rt == nil {
    		panic("call to scope without running the test framework")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. 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)
  5. tests/integration/ambient/cnirepair/main_test.go

    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    
    	return nil
    }
    
    func TestTrafficWithCNIRepair(t *testing.T) {
    	framework.NewTest(t).
    		TopLevel().
    		Run(func(t framework.TestContext) {
    			apps := common_deploy.NewOrFail(t, t, common_deploy.Config{
    				NoExternalNamespace: true,
    				IncludeExtAuthz:     false,
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. 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)
  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/telemetry/api/dashboard_test.go

    			"container_cpu_usage_seconds_total",
    		},
    		false,
    	},
    	*/
    }
    
    func TestDashboard(t *testing.T) {
    	c, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			p := promInst
    
    			t.ConfigIstio().YAML(apps.Namespace.Name(), fmt.Sprintf(gatewayConfig, apps.Namespace.Name())).
    				ApplyOrFail(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/echotest/filters_test.go

    	}
    	if len(expected) > 0 {
    		t.Errorf("did not include %v", expected)
    	}
    }
    
    func TestRun(t *testing.T) {
    	// source svc/cluster -> dest services -> number of subtests (should == num clusters)
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		tests := map[string]struct {
    			run    func(t framework.TestContext, testTopology map[string]map[string]int)
    			expect map[string]map[string]int
    		}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    func (cu containersByEvictUnit) NumEvictUnits() int {
    	return len(cu)
    }
    
    // Newest first.
    type byCreated []containerGCInfo
    
    func (a byCreated) Len() int           { return len(a) }
    func (a byCreated) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
    func (a byCreated) Less(i, j int) bool { return a[i].createTime.After(a[j].createTime) }
    
    // Newest first.
    type sandboxByCreated []sandboxGCInfo
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top