Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for timeEnd (0.15 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/date.go

    		return time.Time{}, time.Time{}, fmt.Errorf("failed to parse TimeBegin: %v", err)
    	}
    	timeEnd, ok := parsed.Meta["TimeEnd"]
    	if !ok {
    		return time.Time{}, time.Time{}, fmt.Errorf("missing counter metadata for TimeEnd")
    	}
    	end, err = time.Parse(time.RFC3339, timeEnd)
    	if err != nil {
    		return time.Time{}, time.Time{}, fmt.Errorf("failed to parse TimeEnd: %v", err)
    	}
    	return begin, end, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. pkg/kubelet/types/types_test.go

    	}
    }
    
    func TestNewTimestamp(t *testing.T) {
    	timeStart := time.Now()
    	timestamp := NewTimestamp()
    	timeEnd := time.Now()
    	assert.WithinDuration(t, timestamp.Get(), timeStart, timeEnd.Sub(timeStart))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 19 08:28:25 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/tasks/PrintAccessorsTest.kt

            )
        }
    
        private
        fun textFromResource(named: String) =
            javaClass.getResource(named).readText()
    
        private
        fun String.withoutTrailingWhitespace() =
            lineSequence().map { it.trimEnd() }.joinToString("\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top