Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for StableName (0.14 sec)

  1. pkg/test/framework/components/cluster/topology.go

    	"primary":               {},
    	"remote":                {},
    	"cross-network-primary": {},
    }
    
    // StableName provides a name used for testcase names. Deterministic, so testgrid
    // can be consistent when the underlying cluster names are dynamic.
    func (c Topology) StableName() string {
    	var prefix string
    	// If its a known cluster name, use that directly.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/echotest/run.go

    					ctx.Skipf("cases from %s in %s with %s as destination are removed by filters ",
    						from.Config().Service, from.Config().Cluster.StableName(), to[0].Config().Service)
    				}
    				testFn(ctx, from, filteredDst)
    			})
    		})
    	})
    }
    
    // RunFromClusters will generate and run one subtest to send traffic to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  3. pkg/test/framework/components/cluster/cluster.go

    	// Use StableName instead of Name when creating subtests.
    	Name() string
    
    	// StableName gives a deterministic name for the cluster. Use this for test/subtest names to
    	// allow test grid to compare runs, even when the underlying cluster names are dynamic.
    	// Use Name for validation/interaction with the actual cluster.
    	StableName() string
    
    	// NetworkName the cluster is on
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. pkg/test/framework/config.go

    			if err := cl.ApplyYAMLFiles(ns, yamlFiles...); err != nil {
    				return fmt.Errorf("failed applying YAML files %v to ns %s in cluster %s: %v", yamlFiles, ns, cl.Name(), err)
    			}
    			c.ctx.CleanupStrategy(cleanupStrategy, func() {
    				scopes.Framework.Debugf("Deleting from %s: %s", cl.StableName(), strings.Join(yamlFiles, ", "))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. tests/integration/telemetry/tracing/zipkin/client_tracing_test.go

    		Run(func(t framework.TestContext) {
    			appNsInst := tracing.GetAppNamespace()
    			for _, cluster := range t.Clusters().ByNetwork()[t.Clusters().Default().NetworkName()] {
    				cluster := cluster
    				t.NewSubTest(cluster.StableName()).Run(func(ctx framework.TestContext) {
    					retry.UntilSuccessOrFail(ctx, func() error {
    						// Send test traffic with a trace header.
    						id := uuid.NewString()
    						extraHeader := map[string][]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tests/integration/telemetry/tracing/zipkin/server_tracing_test.go

    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			appNsInst := tracing.GetAppNamespace()
    			for _, cluster := range t.Clusters().ByNetwork()[t.Clusters().Default().NetworkName()] {
    				t.NewSubTest(cluster.StableName()).Run(func(t framework.TestContext) {
    					retry.UntilSuccessOrFail(t, func() error {
    						err := tracing.SendTraffic(t, nil, cluster)
    						if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. tests/integration/security/ca_custom_root/multi_root_test.go

    			testNS := apps.EchoNamespace.Namespace
    
    			t.ConfigIstio().YAML(testNS.Name(), POLICY).ApplyOrFail(t)
    
    			for _, cluster := range t.Clusters() {
    				t.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) {
    					verify := func(ctx framework.TestContext, from echo.Instance, to echo.Instances, s scheme.Instance, success bool) {
    						want := "success"
    						if !success {
    							want = "fail"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tests/integration/pilot/multicluster_test.go

    				test := test
    				t.NewSubTest(test.name).Run(func(t framework.TestContext) {
    					test.setup(t)
    					for _, source := range sources {
    						source := source
    						t.NewSubTest(source.Config().Cluster.StableName()).RunParallel(func(t framework.TestContext) {
    							source.CallOrFail(t, echo.CallOptions{
    								To: to,
    								Port: echo.Port{
    									Name: "http",
    								},
    								Check: check.And(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    					for _, cluster := range serviceB.GetMatches(echos.Instances).Clusters() {
    						cluster := cluster
    						ctx.NewSubTest(cluster.StableName()).RunParallel(func(ctx framework.TestContext) {
    							// Verify that the ServiceExport was created.
    							ctx.NewSubTest("create").Run(func(ctx framework.TestContext) {
    								retry.UntilSuccessOrFail(ctx, func() error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    						for _, cluster := range ctx.Clusters().ByNetwork()[ctx.Clusters().Default().NetworkName()] {
    							cluster := cluster
    							ctx.NewSubTest(cluster.StableName()).Run(func(ctx framework.TestContext) {
    								retry.UntilSuccessOrFail(ctx, func() error {
    									err := tracing.SendTraffic(ctx, nil, cluster)
    									if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top