Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for timeEnd (0.25 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractRedirectResolveIntegrationTest.groovy

            failureCauseContains("Could not GET '${backingServer.uri}/redirected/group/projectA/1.0/ivy-1.0.xml'")
            failureCauseContains("Read timed out")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        if (cancel) {
          cancel = false
          eventSource.cancel()
        }
      }
    
      private fun nextEvent(): Any {
        return events.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for event.")
      }
    
      fun assertExhausted() {
        assertThat(events).isEmpty()
      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/runtime/lock_sema.go

    //
    //	func semasleep(ns int64) int32
    //		If ns < 0, acquire m's semaphore and return 0.
    //		If ns >= 0, try to acquire m's semaphore for at most ns nanoseconds.
    //		Return 0 if the semaphore was acquired, -1 if interrupted or timed out.
    //
    //	func semawakeup(mp *m)
    //		Wake up mp, which is or will soon be sleeping on its semaphore.
    const (
    	locked uintptr = 1
    
    	active_spin     = 4
    	active_spin_cnt = 30
    	passive_spin    = 1
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. internal/http/server.go

    			tmp, err := os.CreateTemp("", "minio-goroutines-*.txt")
    			if err == nil {
    				_ = pprof.Lookup("goroutine").WriteTo(tmp, 1)
    				tmp.Close()
    				return errors.New("timed out. some connections are still active. goroutines written to " + tmp.Name())
    			}
    			return errors.New("timed out. some connections are still active")
    		case <-timer.C:
    			if atomic.LoadInt32(&srv.requestCount) <= 0 {
    				return nil
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Feb 09 21:25:16 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/crypto/tls/cache_test.go

    		}
    	}
    
    	timeoutRefCheck := func(t *testing.T, key string, count int64) {
    		t.Helper()
    		c := time.After(4 * time.Second)
    		for {
    			select {
    			case <-c:
    				t.Fatal("timed out waiting for expected ref count")
    			default:
    				e, ok := cc.Load(key)
    				if !ok && count != 0 {
    					t.Fatal("cache does not contain expected key")
    				} else if count == 0 && !ok {
    					return
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 19:46:27 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher_test.go

    		time.Duration(500*time.Millisecond),
    		func() (bool, error) {
    			if dsw.PluginExists(socketPath) {
    				return true, nil
    			}
    			return false, nil
    		},
    	)
    	if err != nil {
    		t.Fatalf("Timed out waiting for plugin to be added to desired state of world cache:\n%s.", socketPath)
    	}
    }
    
    func waitForUnregistration(
    	t *testing.T,
    	socketPath string,
    	dsw cache.DesiredStateOfWorld) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 04 06:56:50 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. pkg/revisions/default_watcher_test.go

    	select {
    	case rev := <-revisionChan:
    		if rev != expected {
    			t.Fatalf("expected revision %q to be produced on chan, got %q", expected, rev)
    		}
    	case <-time.After(time.Second * 5):
    		t.Fatalf("timed out waiting for value on default revision chan")
    	}
    }
    
    func TestNoDefaultRevision(t *testing.T) {
    	stop := make(chan struct{})
    	client := kube.NewFakeClient()
    	w := NewDefaultWatcher(client, "default")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 23 17:46:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. pkg/controlplane/controller/kubernetesservice/controller.go

    // Start begins the core controller loops that must exist for bootstrapping
    // a cluster.
    func (c *Controller) Start(stopCh <-chan struct{}) {
    	if !cache.WaitForCacheSync(stopCh, c.serviceSynced) {
    		runtime.HandleError(fmt.Errorf("timed out waiting for caches to sync"))
    		return
    	}
    	// Reconcile during first run removing itself until server is ready.
    	endpointPorts := createEndpointPortSpec(c.PublicServicePort, "https")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. pkg/config/mesh/watcher_test.go

    	m.IngressClass = "foo"
    	writeMessage(t, path, m)
    
    	select {
    	case <-doneCh:
    		assert.Equal(t, newM, m)
    		assert.Equal(t, w.Mesh(), newM)
    		break
    	case <-time.After(time.Second * 5):
    		t.Fatal("timed out waiting for update")
    	}
    }
    
    func newWatcher(t testing.TB, filename string, multi bool) mesh.Watcher {
    	t.Helper()
    	w, err := mesh.NewFileWatcher(filewatcher.NewWatcher(), filename, multi)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/util/traffic/generator.go

    	select {
    	case <-g.stopped:
    		t.Stop()
    		if g.result.TotalRequests == 0 {
    			g.t.Fatal("no requests completed before stopping the traffic generator")
    		}
    		return g.result
    	case <-t.C:
    		g.t.Fatal("timed out waiting for result")
    	}
    	// Can never happen, but the compiler doesn't know that Fatal terminates
    	return Result{}
    }
    
    func fillInDefaults(cfg *Config) {
    	if cfg.Interval == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top