Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CheckPodsAreReady (0.13 sec)

  1. tests/integration/pilot/ingress_test.go

            port:
              number: 80
    `).Apply(apply.NoCleanup)
    				cs := t.Clusters().Default().(*kubecluster.Cluster)
    				retry.UntilSuccessOrFail(t, func() error {
    					_, err := kubetest.CheckPodsAreReady(kubetest.NewPodFetch(cs, gatewayNs.Name(), "istio=custom"))
    					return err
    				}, retry.Timeout(time.Minute*2))
    				apps.B[0].CallOrFail(t, echo.CallOptions{
    					Port:    echo.Port{ServicePort: 80},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/ambient/waypoint.go

    		ns.Name(),
    		waypoint,
    	})
    	waypointError := retry.UntilSuccess(func() error {
    		fetch := testKube.NewPodFetch(t.AllClusters()[0], ns.Name(), constants.GatewayNameLabel+"="+waypoint)
    		pods, err := testKube.CheckPodsAreReady(fetch)
    		if err != nil && !errors.Is(err, testKube.ErrNoPodsFetched) {
    			return fmt.Errorf("cannot fetch pod: %v", err)
    		} else if len(pods) != 0 {
    			return fmt.Errorf("waypoint pod is not deleted")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    		})
    }
    
    func checkWaypointIsReady(t framework.TestContext, ns, name string) error {
    	fetch := kubetest.NewPodFetch(t.AllClusters()[0], ns, constants.GatewayNameLabel+"="+name)
    	_, err := kubetest.CheckPodsAreReady(fetch)
    	return err
    }
    
    func TestSimpleHTTPSandwich(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    			config := `
    apiVersion: networking.istio.io/v1beta1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top