Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for Petry (0.1 sec)

  1. tests/integration/security/file_mounted_certs/p2p_mtls_test.go

    				Count: 1,
    				Port: echo.Port{
    					Name: "http",
    				},
    				Check: check.And(
    					check.OK(),
    					check.RequestHeader("X-Forwarded-Client-Cert", ExpectedXfccHeader)),
    				Retry: echo.Retry{
    					Options: []retry.Option{retry.Delay(5 * time.Second), retry.Timeout(1 * time.Minute)},
    				},
    			}
    
    			client[0].CallOrFail(t, opts)
    		})
    }
    
    const (
    	DestinationRuleConfigMutual = `
    apiVersion: networking.istio.io/v1alpha3
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tests/integration/pilot/vm_test.go

    				retry.UntilSuccessOrFail(t, func() error {
    					result, err := client.Call(echo.CallOptions{
    						To:    autoVM,
    						Count: 1,
    						Port:  autoVM.Config().Ports[0],
    						Retry: echo.Retry{
    							NoRetry: true,
    						},
    					})
    					return check.And(
    						check.NoError(),
    						check.OK()).Check(result, err)
    				}, retry.Timeout(15*time.Second))
    			})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. tests/integration/pilot/cni_race_test.go

    				}
    			}
    		}
    		return fmt.Errorf("cannot find any pod with wanted exit code %v", constants.ValidationErrorCode)
    	}, retry.Delay(1*time.Second), retry.Timeout(80*time.Second))
    }
    
    func waitForRepairOrFail(t framework.TestContext, cluster cluster.Cluster, ns namespace.Instance) {
    	retry.UntilSuccessOrFail(t, func() error {
    		pods, err := cluster.Kube().CoreV1().Pods(ns.Name()).List(context.TODO(), metav1.ListOptions{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. tests/integration/ambient/untaint/untaint_test.go

    	"istio.io/istio/pkg/test/framework"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    func TestTaintsRemoved(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(ctx framework.TestContext) {
    			// make cni not deploy to one of the nodes
    			taintNodes(ctx)
    
    			// make sure all nodes were untainted
    			retry.UntilSuccessOrFail(t, func() error {
    				nodeC := ctx.Clusters().Default().Kube().CoreV1().Nodes()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tests/integration/pilot/mcs/autoexport/autoexport_test.go

    	"istio.io/istio/pkg/test/framework/components/istio"
    	"istio.io/istio/pkg/test/framework/label"
    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/retry"
    	"istio.io/istio/tests/integration/pilot/mcs/common"
    )
    
    var (
    	i     istio.Instance
    	echos common.EchoDeployment
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. tests/integration/security/ca_custom_root/secure_naming_test.go

    			// Check that the CA certificate in the configmap of each namespace is as expected, which
    			// is used for data plane to control plane TLS authentication.
    			retry.UntilSuccessOrFail(t, func() error {
    				return checkCACert(t, testNamespace)
    			}, retry.Delay(time.Second), retry.Timeout(10*time.Second))
    			to := match.Namespace(testNamespace).GetMatches(apps.EchoNamespace.B)
    			for _, cluster := range t.Clusters() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. pilot/pkg/xds/discovery_test.go

    							return fmt.Errorf("got %v full and %v partial, expected %v full and %v partial", full, partial, expectedFull, expectedPartial)
    						}
    						return nil
    					}
    				}, retry.Timeout(opts.DebounceAfter*8), retry.Delay(opts.DebounceAfter/2))
    				if err != nil {
    					t.Error(err)
    				}
    			}
    
    			// Send updates
    			tt.test(updateCh, expect)
    
    			close(stopCh)
    			wg.Wait()
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. pkg/test/framework/components/namespace/kube.go

    			return err
    		}
    		err := retry.UntilSuccess(func() error {
    			_, err := c.Kube().CoreV1().ServiceAccounts(n.name).Patch(context.TODO(),
    				"default",
    				types.JSONPatchType,
    				[]byte(`[{"op": "add", "path": "/imagePullSecrets", "value": [{"name": "test-gcr-secret"}]}]`),
    				metav1.PatchOptions{})
    			return err
    		}, retry.Delay(1*time.Second), retry.Timeout(10*time.Second))
    		if err != nil {
    			return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. tests/integration/telemetry/tracing/zipkin/server_tracing_test.go

    						}
    						if !tracing.VerifyEchoTraces(t, appNsInst.Name(), cluster.Name(), traces) {
    							return errors.New("cannot find expected traces")
    						}
    						return nil
    					}, retry.Delay(3*time.Second), retry.Timeout(80*time.Second))
    				})
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/cmd/root.go

    When using Istio CNI, this can occur if a pod is scheduled before the node is ready.
    
    If installed with 'cni.repair.deletePods=true', this pod should automatically be deleted and retry.
    Otherwise, this pod will need to be manually removed so that it is scheduled on a node with istio-cni running, allowing iptables rules to be established.
    `)
    					handleErrorWithCode(msg, constants.ValidationErrorCode)
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top