Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for timediv (3.68 sec)

  1. pkg/ctrlz/ctrlz_test.go

    	server := startAndWaitForServer(t)
    	done := make(chan struct{}, 1)
    	go func() {
    		server.Close()
    		done <- struct{}{}
    	}()
    	select {
    	case <-done:
    	case <-time.After(5 * time.Second):
    		t.Fatal("Timed out waiting for listeningTestProbe to be called")
    	}
    }
    
    func TestSignals(t *testing.T) {
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGUSR1)
    	server := startAndWaitForServer(t)
    	defer server.Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. pkg/probe/exec/exec_test.go

    		// Timeout
    		{probe.Failure, false, true, "", remote.ErrCommandTimedOut.Error() + ": command testcmd timed out", fmt.Errorf("%w: command testcmd timed out", remote.ErrCommandTimedOut)},
    		// ExecProbeTimeout
    		{probe.Unknown, true, false, "", "", fmt.Errorf("%w: command testcmd timed out", remote.ErrCommandTimedOut)},
    	}
    
    	for i, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/AutobahnTester.kt

              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/MavenDownloaderTest.groovy

            } catch (Throwable e) {
                // https://github.com/gradle/build-tool-flaky-tests/issues/112
                Assume.assumeFalse(ExceptionUtils.getStackTrace(e).contains("Connection timed out"))
                throw e
            }
    
            then:
            install.home.isDirectory()
            install.mvn.isFile()
            install.version == mavenVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/internal/test2json/testdata/timeout.test

    === RUN   Test
    panic: test timed out after 1s
    
    FAIL	p	1.111s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 66 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go

    	// RecordWebhookEvaluation increments with each round-trip of a webhook authorizer.
    	// result is one of:
    	// - canceled: the call invoking the webhook request was canceled
    	// - timeout: the webhook request timed out
    	// - error: the webhook response completed and was invalid
    	// - success: the webhook response completed and was well-formed
    	RecordWebhookEvaluation(ctx context.Context, name, result string)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/timeout/impl/DefaultTimeoutHandler.java

                synchronized (lock) {
                    if (!stopped) {
                        slowStop = true;
                        doAsPartOfBuildOperation(() -> {
                            LOGGER.warn("Timed out {} has not yet stopped.", workUnitDescription.getDisplayName());
    
                            if (logStacktraceTimer.hasExpired()) {
                                StackTraceElement[] currentStackTrace = thread.getStackTrace();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. pkg/controller/deployment/progress.go

    			// Update the deployment with a timeout condition. If the condition already exists,
    			// we ignore this update.
    			msg := fmt.Sprintf("Deployment %q has timed out progressing.", d.Name)
    			if newRS != nil {
    				msg = fmt.Sprintf("ReplicaSet %q has timed out progressing.", newRS.Name)
    			}
    			condition := util.NewDeploymentCondition(apps.DeploymentProgressing, v1.ConditionFalse, util.TimedOutReason, msg)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/cmd/internal/test2json/testdata/timeout.json

    {"Action":"start"}
    {"Action":"run","Test":"Test"}
    {"Action":"output","Test":"Test","Output":"=== RUN   Test\n"}
    {"Action":"output","Test":"Test","Output":"panic: test timed out after 1s\n"}
    {"Action":"output","Test":"Test","Output":"\n"}
    {"Action":"output","Output":"FAIL\tp\t1.111s\n"}
    {"Action":"output","Output":"FAIL\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 343 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/connection_test.go

    	raw := spdyConn.(*connection).conn
    	if err := raw.Wait(15 * time.Second); err != nil {
    		t.Fatalf("client: timed out waiting for connection closure: %v", err)
    	}
    
    	expired := time.NewTimer(15 * time.Second)
    	defer expired.Stop()
    	i := 0
    	for {
    		select {
    		case <-expired.C:
    			t.Fatalf("timed out waiting for proxy and/or server closure")
    		case <-serverDone:
    			i++
    		case <-proxyDone:
    			i++
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 11:58:57 UTC 2023
    - 7.9K bytes
    - Viewed (0)
Back to top