Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NewSubTestf (1.57 sec)

  1. tests/integration/ambient/baseline_test.go

    		for _, src := range svcs {
    			src := src
    			t.NewSubTestf("from %v", src.Config().Service).RunParallel(func(t framework.TestContext) {
    				for _, dst := range svcs {
    					dst := dst
    					t.NewSubTestf("to %v", dst.Config().Service).RunParallel(func(t framework.TestContext) {
    						for _, opt := range callOptions {
    							opt := opt
    							t.NewSubTestf("%v", opt.Scheme).RunParallel(func(t framework.TestContext) {
    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. pkg/test/framework/components/echo/echotest/run.go

    func (t *T) fromEachCluster(ctx framework.TestContext, testFn perClusterTest) {
    	for _, fromCluster := range t.sources.Clusters() {
    		fromCluster := fromCluster
    		ctx.NewSubTestf("from %s", fromCluster.StableName()).Run(func(ctx framework.TestContext) {
    			testFn(ctx, fromCluster)
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    					continue
    				}
    				t.NewSubTestf("from %s", src.ServiceName()).Run(func(t framework.TestContext) {
    					if src.Config().HasSidecar() {
    						t.Skip("TODO: sidecars don't properly handle use-waypoint")
    					}
    					for _, host := range apps.Captured.Config().HostnameVariants() {
    						host := host
    						t.NewSubTestf("to %s", host).Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pkg/test/framework/testcontext.go

    	// create their own Golang *testing.T with the name provided.
    	//
    	// If this TestContext was not created by a Test or if that Test is not running, this method will panic.
    	NewSubTest(name string) Test
    	NewSubTestf(format string, a ...any) Test
    
    	// WorkDir allocated for this test.
    	WorkDir() string
    
    	// CreateDirectoryOrFail creates a new sub directory with the given name in the workdir, or fails the test.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tests/integration/pilot/workloadentry_test.go

    							}, weTmpl).ApplyOrFail(t)
    						}
    					}
    
    					for _, src := range apps.A.Instances() {
    						src := src
    						// TODO possibly can run parallel
    						t.NewSubTestf("from %s", src.Clusters().Default().Name()).Run(func(t framework.TestContext) {
    							src.CallOrFail(t, echo.CallOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/multiplecontrolplanes/main_test.go

    					name:       "workloads in non-SE configured usergroup cannot reach external service",
    					statusCode: http.StatusBadGateway,
    					from:       apps.NS[0].A,
    				},
    			}
    			for _, tc := range testCases {
    				t.NewSubTestf(tc.name).Run(func(t framework.TestContext) {
    					tc.from[0].CallOrFail(t, echo.CallOptions{
    						Address: apps.External.All[0].Address(),
    						HTTP: echo.HTTP{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. tests/integration/telemetry/api/stats_test.go

    		Run(func(t framework.TestContext) {
    			// Metrics to be queried and tested
    			metrics := []string{"istio_request_messages_total", "istio_response_messages_total"}
    			for _, metric := range metrics {
    				t.NewSubTestf(metric).Run(func(t framework.TestContext) {
    					t.Cleanup(func() {
    						if t.Failed() {
    							util.PromDump(t.Clusters().Default(), promInst, prometheus.Query{Metric: metric})
    						}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. tests/integration/security/reachability_test.go

    					for _, opts := range allOpts {
    						opts := opts
    
    						schemeStr := string(opts.Scheme)
    						if len(schemeStr) == 0 {
    							schemeStr = opts.Port.Name
    						}
    						t.NewSubTestf("%s%s", schemeStr, opts.HTTP.Path).Run(func(t framework.TestContext) {
    							// Run the test cases.
    							echotest.New(t, allServices.Instances()).
    								FromMatch(match.And(c.fromMatch, match.NotProxylessGRPC)).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. tests/integration/pilot/mcs/discoverability/discoverability_test.go

    			bClusters := serviceB.GetMatches(echos.Instances).Clusters()
    
    			// Test exporting service B exclusively in each cluster.
    			for _, exportCluster := range bClusters {
    				exportCluster := exportCluster
    				t.NewSubTestf("b exported in %s", exportCluster.StableName()).
    					Run(func(t framework.TestContext) {
    						// Export service B in the export cluster.
    						createAndCleanupServiceExport(t, common.ServiceB, cluster.Clusters{exportCluster})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. tests/integration/pilot/ingress_test.go

    						Count: count,
    					},
    					path:       "/test",
    					prefixPath: "/prefix",
    				},
    			}
    
    			for _, ingr := range istio.IngressesOrFail(t, t) {
    				ingr := ingr
    				t.NewSubTestf("from %s", ingr.Cluster().StableName()).Run(func(t framework.TestContext) {
    					for _, c := range cases {
    						c := c
    						t.NewSubTest(c.name).Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top