Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 100 for timeEnd (0.18 sec)

  1. pilot/pkg/xds/pushqueue_test.go

    		result <- con
    	}()
    	select {
    	case got := <-result:
    		if got != expected {
    			t.Fatalf("Expected proxy %v, got %v", expected, got)
    		}
    	case <-time.After(time.Millisecond * 500):
    		t.Fatalf("Timed out")
    	}
    }
    
    func TestProxyQueue(t *testing.T) {
    	proxies := make([]*Connection, 0, 100)
    	for p := 0; p < 100; p++ {
    		conn := newConnection("", nil)
    		conn.SetID(fmt.Sprintf("proxy-%d", p))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go

    	klog.Infof("Starting OpenAPI controller")
    
    	c.staticSpec = staticSpec
    	c.openAPIService = openAPIService
    
    	if !cache.WaitForCacheSync(stopCh, c.crdsSynced) {
    		utilruntime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// create initial spec to avoid merging once per CRD on startup
    	crds, err := c.crdLister.List(labels.Everything())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. internal/dsync/drwmutex.go

    			}
    		}(index, c)
    	}
    
    	// Wait until we have either
    	//
    	// a) received all refresh responses
    	// b) received too many refreshed for quorum to be still possible
    	// c) timed out
    	//
    	lockNotFound, lockRefreshed := 0, 0
    	done := false
    
    	for i := 0; i < len(restClnts); i++ {
    		select {
    		case refreshResult := <-ch:
    			if refreshResult.offline {
    				continue
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. pkg/volume/testing/testing.go

    	if fv.VolName == TimeoutAndFailOnMountDeviceVolumeName {
    		_, ok := fv.DeviceMountState[fv.VolName]
    		if !ok {
    			fv.DeviceMountState[fv.VolName] = deviceMountUncertain
    			return "", volumetypes.NewUncertainProgressError("timed out mounting error")
    		}
    		fv.DeviceMountState[fv.VolName] = deviceNotMounted
    		return "", fmt.Errorf("error mapping disk: %s", fv.VolName)
    	}
    
    	if fv.VolName == SuccessAndTimeoutDeviceName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                    }
                }
                LOGGER.debug("Cancel: daemon is still busy after grace period. Will force stop.");
                stopNow("cancel requested but timed out");
                return DaemonStopState.Forced;
            } finally {
                lock.unlock();
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    	}
    	// check client to make sure receive response.
    	select {
    	case <-graceCh:
    		t.Logf("server shutdown gracefully.")
    	case <-time.After(30 * time.Second):
    		t.Errorf("Timed out waiting for response.")
    	}
    }
    
    func TestWarningWithRequestTimeout(t *testing.T) {
    	type result struct {
    		err        interface{}
    		stackTrace string
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. src/internal/trace/event/go122/event.go

    	},
    	EvExperimentalBatch: event.Spec{
    		Name:    "ExperimentalBatch",
    		Args:    []string{"exp", "gen", "m", "time"},
    		HasData: true, // Easier to represent for raw readers.
    	},
    
    	// "Timed" Events.
    	EvProcsChange: event.Spec{
    		Name:         "ProcsChange",
    		Args:         []string{"dt", "procs_value", "stack"},
    		IsTimedEvent: true,
    		StackIDs:     []int{2},
    	},
    	EvProcStart: event.Spec{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/cidrallocator.go

    	// Wait for all involved caches to be synced, before processing items from the queue is started
    	if !cache.WaitForCacheSync(c.internalStopCh, c.serviceCIDRSynced, c.ipAddressSynced) {
    		runtime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    
    	// this is single threaded only one serviceCIDR at a time
    	go wait.Until(c.runWorker, time.Second, c.internalStopCh)
    
    	<-c.internalStopCh
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. src/crypto/tls/tls.go

    	if err != nil {
    		return nil, err
    	}
    	return NewListener(l, config), nil
    }
    
    type timeoutError struct{}
    
    func (timeoutError) Error() string   { return "tls: DialWithDialer timed out" }
    func (timeoutError) Timeout() bool   { return true }
    func (timeoutError) Temporary() bool { return true }
    
    // DialWithDialer connects to the given network address using dialer.Dial and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    			if err != nil {
    				return storage.NewInternalErrorf("unable to transform key %q: %v", kv.Key, err)
    			}
    
    			// Check if the request has already timed out before decode object
    			select {
    			case <-ctx.Done():
    				// parent context is canceled or timed out, no point in continuing
    				return storage.NewTimeoutError(string(kv.Key), "request did not complete within requested timeout")
    			default:
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top