Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for BuildOrFail (0.17 sec)

  1. tests/integration/pilot/vm_test.go

    					Namespace:  apps.Namespace,
    					Ports:      ports.All(),
    					DeployAsVM: true,
    					VMDistro:   image,
    					Subsets:    []echo.SubsetConfig{{}},
    				})
    			}
    			instances := b.BuildOrFail(t)
    
    			for idx, image := range images {
    				idx, image := idx, image
    				t.NewSubTest(image).RunParallel(func(t framework.TestContext) {
    					tc := common.TrafficContext{
    						TestContext: t,
    						Istio:       i,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. tests/integration/pilot/cross_revision_test.go

    				builder = builder.WithConfig(echo.Config{
    					Service:   ns.revision,
    					Namespace: ns.namespace,
    					Ports:     ports.All(),
    					Subsets:   []echo.SubsetConfig{{}},
    				})
    			}
    			instances := builder.BuildOrFail(t)
    			// Add our existing revision to the instances list
    			instances = append(instances, apps.A...)
    			testAllEchoCalls(t, instances)
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tests/integration/pilot/headers_test.go

        disabled: true
      envoyDebugHeaders:
        disabled: true
      metadataExchangeHeaders:
        mode: IN_MESH`},
    					},
    				},
    			}
    			instances := deployment.New(t).
    				WithConfig(cfg).
    				BuildOrFail(t)
    			instance := instances[0]
    			proxyHeaders := sets.New(
    				"server",
    				"x-forwarded-client-cert",
    				"x-request-id",
    			)
    
    			allowedClientHeaders := sets.New(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/revisions/revision_tag_test.go

    							tc.nsLabel, revTagNs.Name(), err)
    					}
    
    					deployment.New(t).WithConfig(echo.Config{
    						Service:   "revision-tag",
    						Namespace: revTagNs,
    					}).BuildOrFail(t)
    
    					fetch := kubetest.NewSinglePodFetch(t.Clusters().Default(),
    						revTagNs.Name(),
    						fmt.Sprintf("app=%s", "revision-tag"))
    					pods, err := fetch()
    					if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/deployment/builder.go

    	// Build and initialize all Echo Instances. Upon returning, the Instance pointers
    	// are assigned and all Instances are ready to communicate with each other.
    	Build() (echo.Instances, error)
    	BuildOrFail(t test.Failer) echo.Instances
    }
    
    var _ Builder = &builder{}
    
    // New builder for echo deployments.
    func New(ctx resource.Context, clusters ...cluster.Cluster) Builder {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. tests/integration/pilot/revisioned_upgrade_test.go

    		Namespace: revisionedNamespace,
    		Ports: []echo.Port{
    			{
    				Name:         "http",
    				Protocol:     protocol.HTTP,
    				WorkloadPort: 8080,
    			},
    		},
    	})
    	builder.BuildOrFail(t)
    
    	// Create a traffic generator between A and B.
    	g := traffic.NewGenerator(t, traffic.Config{
    		Source: apps.A[0],
    		Options: echo.CallOptions{
    			To:    apps.B,
    			Count: 1,
    			Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. tests/integration/pilot/multi_version_revision_test.go

    							WorkloadPort: 9000,
    						},
    						{
    							Name:         "grpc",
    							Protocol:     protocol.GRPC,
    							WorkloadPort: 9090,
    						},
    					},
    				})
    			}
    			instances := builder.BuildOrFail(t)
    			// add an existing pod from apps to the rotation to avoid an extra deployment
    			instances = append(instances, apps.A[0])
    
    			testAllEchoCalls(t, instances)
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. tests/integration/pilot/proxyconfig/proxyconfig_test.go

    									annotation.ProxyConfig.Name: tc.pcAnnotation,
    								},
    							},
    						}
    					}
    
    					instances := deployment.New(ctx, t.Clusters().Configs()...).WithConfig(echoConfig).BuildOrFail(t)
    					checkInjectedValues(t, instances, tc.expected)
    				})
    			}
    		})
    }
    
    func checkInjectedValues(t framework.TestContext, instances echo.Instances, values map[string]string) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. tests/integration/security/reachability_test.go

    							Version:     migrationVersionNonIstio,
    							Annotations: map[string]string{annotation.SidecarInject.Name: "false"},
    						},
    					},
    				}).BuildOrFail(t)
    			} else {
    				// TODO: remove the MinIstioVersion setting for dual stack integration test for next line
    				// integIstioVersion = cMinIstioVersionDS
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. tests/integration/pilot/cni_race_test.go

    			deployment.
    				New(t, c).
    				WithConfig(echo.Config{
    					Namespace: ns,
    					Ports:     ports.All(),
    					Subsets:   []echo.SubsetConfig{{}},
    				}).BuildOrFail(t)
    
    			// To begin with, delete CNI Daemonset to simulate a CNI race condition.
    			// Temporarily store CNI DaemonSet, which will be deployed again later.
    			t.Log("Delete CNI Daemonset temporarily to simulate race condition")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top