Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 205 for delay (0.04 sec)

  1. src/runtime/netpoll_fake.go

    	return 0
    }
    
    func netpollclose(fd uintptr) int32 {
    	return 0
    }
    
    func netpollarm(pd *pollDesc, mode int) {
    }
    
    func netpollBreak() {
    }
    
    func netpoll(delay int64) (gList, int32) {
    	return gList{}, 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 15:45:57 UTC 2023
    - 664 bytes
    - Viewed (0)
  2. tests/testdata/config/rule-fault-injection.yaml

              version:
                exact: v2
            sourceLabels:
              version: v1
          route:
          - destination:
              host: c
              subset: v2
            weight: 100
          fault:
            delay:
              percentage:
                value: 100.0
              fixedDelay: 5s
            abort:
              percentage:
                value: 100.0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 28 21:38:06 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  3. tests/integration/pilot/gw_topology_test.go

    			retry.UntilSuccessOrFail(t, func() error {
    				_, err := kubetest.CheckPodsAreReady(kubetest.NewPodFetch(cs, gatewayNs.Name(), "istio=ingressgateway"))
    				return err
    			}, retry.Timeout(time.Minute*2), retry.Delay(time.Second))
    			for _, tt := range common.XFFGatewayCase(&apps, fmt.Sprintf("custom-gateway.%s.svc.cluster.local", gatewayNs.Name())) {
    				tt.Run(t, apps.Namespace.Name())
    			}
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pilot/pkg/model/test/mockopenidserver.go

    			{ "kid": "fakeKey1_2", "alg": "RS256", "kty": "RSA", "n": "123", "e": "456", "bla": "blah" } ] }`
    )
    
    // Wrap the original handler with a delay
    func withDelay(handler http.Handler, delay time.Duration) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		time.Sleep(delay)
    		handler.ServeHTTP(w, r)
    	})
    }
    
    // MockOpenIDDiscoveryServer is the in-memory openID discovery server.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    	afterSecondLog = make(chan struct{})
    )
    
    func TestInterruptor(t *testing.T) {
    	t.Parallel()
    
    	<-afterFirstLog
    	t.Run("interruption", func (t *testing.T) {})
    	close(afterSubTest)
    	<-afterSecondLog // Delay the "PASS: TestInterruptor" line until after "CONT  TestLog".
    }
    
    func TestLog(t *testing.T) {
    	t.Parallel()
    
    	t.Logf("this is the first TestLog log")
    	close(afterFirstLog)
    	<-afterSubTest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  6. tests/integration/pilot/cni_race_test.go

    		if err != nil {
    			return err
    		}
    		if len(pods.Items) > 0 {
    			return errors.New("CNI Daemonset pod still exists after deletion")
    		}
    		return nil
    	}, retry.Delay(1*time.Second), retry.Timeout(80*time.Second))
    }
    
    func deployCNIDaemonset(ctx framework.TestContext, c cluster.Cluster, cniDaemonSet *appsv1.DaemonSet) {
    	deployDaemonSet := appsv1.DaemonSet{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

    package org.codelibs.fess.crawler.interval;
    
    public interface IntervalController {
        int PRE_PROCESSING = 1;
    
        int POST_PROCESSING = 2;
    
        int NO_URL_IN_QUEUE = 4;
    
        int WAIT_NEW_URL = 8;
    
        void delay(int type);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 848 bytes
    - Viewed (0)
  8. pkg/kube/controllers/queue_test.go

    		handles.Inc()
    		return nil
    	}))
    	q.Add(types.NamespacedName{Name: "something"})
    	stop := make(chan struct{})
    	go q.Run(stop)
    	retry.UntilOrFail(t, q.HasSynced, retry.Delay(time.Microsecond))
    	assert.Equal(t, handles.Load(), 1)
    	q.Add(types.NamespacedName{Name: "something else"})
    	close(stop)
    	assert.NoError(t, q.WaitForClose(time.Second))
    	// event 2 is guaranteed to happen from WaitForClose
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 15 16:18:19 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go

    const defaultRequestTimeout = 30 * time.Second
    
    // DefaultRetryBackoffWithInitialDelay returns the default backoff parameters for webhook retry from a given initial delay.
    // Handy for the client that provides a custom initial delay only.
    func DefaultRetryBackoffWithInitialDelay(initialBackoffDelay time.Duration) wait.Backoff {
    	return wait.Backoff{
    		Duration: initialBackoffDelay,
    		Factor:   1.5,
    		Jitter:   0.2,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. pkg/istio-agent/health/health_check_test.go

    		retry.UntilSuccessOrFail(t, func() error {
    			if int(eventNum.Load()) != len(expectedTCPEvents) {
    				return fmt.Errorf("waiting for %v events", len(expectedTCPEvents)-int(eventNum.Load()))
    			}
    			return nil
    		}, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second))
    		close(quitChan)
    	})
    	t.Run("http", func(t *testing.T) {
    		httpPath := "/test/health/check"
    		httpHealthStatuses := [4]bool{true, false, false, true}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top