Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 110 for Petry (0.03 sec)

  1. tests/integration/pilot/revisions/uninstall_test.go

    			reItemList = append(reItemList, reList...)
    			reStrlist = append(reStrlist, reStr...)
    		}
    		return inspectRemainingResources(reItemList, reStrlist, purge)
    	}, retry.Delay(checkResourceDelay), retry.Timeout(checkResourceTimeout))
    }
    
    // getRemainingResourcesCluster get specific resources from the cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/ztunnelserver_test.go

    	assert.Equal(t, len(fds), 0)
    
    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    		panic("expected snapshot sent")
    	}
    	sendAck(ztunClient)
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    	mt.Assert(ztunnelConnected.Name(), nil, monitortest.Exactly(0))
    }
    
    func TestZtunnelRemovePod(t *testing.T) {
    	ztunnelKeepAliveCheckInterval = time.Second / 10
    	mt := monitortest.New(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. pkg/kube/kclient/index_test.go

    	"k8s.io/apimachinery/pkg/types"
    
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    type SaNode struct {
    	ServiceAccount types.NamespacedName
    	Node           string
    }
    
    func TestIndex(t *testing.T) {
    	c := kube.NewFakeClient()
    	pods := New[*corev1.Pod](c)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 03:49:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go

    				"Please add the CRD then restart the istiod deployment", c.logPrefix())
    			c.mcsSupported = false
    
    			// Do not return the error, so that the queue does not attempt a retry.
    			return nil
    		}
    	}
    
    	if err != nil {
    		log.Warnf("%s failed creating ServiceExport %s/%s: %v", c.logPrefix(), svc.Namespace, svc.Name, err)
    		return err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/settings.go

    	FailOnDeprecation bool
    
    	// Local working directory root for creating temporary directories / files in. If left empty,
    	// os.TempDir() will be used.
    	BaseDir string
    
    	// The number of times to retry failed tests.
    	// This should not be depended on as a primary means for reducing test flakes.
    	Retries int
    
    	// If enabled, namespaces will be reused rather than created with dynamic names each time.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. pkg/test/util/retry/retry.go

    //  limitations under the License.
    
    package retry
    
    import (
    	"errors"
    	"fmt"
    	"time"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test"
    )
    
    var scope = log.RegisterScope("retry", "logs for retries")
    
    const (
    	// DefaultTimeout the default timeout for the entire retry operation
    	DefaultTimeout = time.Second * 30
    
    	// DefaultDelay the default delay between successive retry attempts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. tests/integration/ambient/cacert_rotation_test.go

    			}
    
    			// perform one retry to handle race condition where ztunnel cert is refreshed before Istiod certificates are reloaded
    			retry.UntilSuccess(func() error {
    				newWorkloadCert := waitForWorkloadCertUpdate(t, ztunnelPod, sa, istioCtl, originalWorkloadSecret)
    				return verifyWorkloadCert(t, newWorkloadCert, newX509)
    			}, retry.MaxAttempts(2), retry.Timeout(5*time.Minute))
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. tests/integration/telemetry/api/customize_metrics_test.go

    				_, err = util.QueryPrometheus(t, cluster, grpcDestinationQuery, promInst)
    				if err != nil {
    					util.PromDiff(t, promInst, cluster, grpcDestinationQuery)
    					return err
    				}
    				return nil
    			}, retry.Delay(1*time.Second), retry.Timeout(300*time.Second))
    			// check tag removed
    			if strings.Contains(httpMetricVal, removedTag) {
    				t.Errorf("failed to remove tag: %v", removedTag)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/common/call.go

    		}
    
    		return result, err
    	}
    
    	if opts.Retry.NoRetry {
    		// Retry is disabled, just send once.
    		t0 := time.Now()
    		defer func() {
    			scopes.Framework.Debugf("echo call complete with duration %v", time.Since(t0))
    		}()
    		return sendAndValidate()
    	}
    
    	// Retry the call until it succeeds or times out.
    	var result echo.CallResult
    	var err error
    	_, _ = retry.UntilComplete(func() (any, bool, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  10. tests/integration/pilot/analysis/analysis_test.go

      hosts:
      - reviews
      http:
      - route:
        - destination: 
            host: reviews
    `).ApplyOrFail(t)
    			// Status should report error
    			retry.UntilSuccessOrFail(t, func() error {
    				return expectVirtualServiceStatus(t, ns, true)
    			}, retry.Timeout(time.Minute*5))
    			// Apply config to make this not invalid
    			t.ConfigIstio().YAML(ns.Name(), `
    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top