- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 258 for timeEnd (0.13 sec)
-
src/cmd/cgo/internal/testcarchive/carchive_test.go
sb := new(strings.Builder) cmd.Stdout = sb cmd.Stderr = sb if err := cmd.Start(); err != nil { t.Fatal(err) } timer := time.AfterFunc(time.Minute, func() { t.Error("test program timed out") cmd.Process.Kill() }, ) defer timer.Stop() err = cmd.Wait() t.Logf("%v\n%s", cmd.Args, sb) if err != nil { t.Error(err) } } // Issue 49288.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 17.1K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
}) runtime.UnlockOSThread() wg.Done() }() waitingM := <-ready runtime.SendSigusr1(waitingM) timer := time.AfterFunc(time.Second, func() { // Write 1 to tell WaitForSigusr1 that we timed out. bw := byte(1) if n := runtime.Write(uintptr(w), unsafe.Pointer(&bw), 1); n != 1 { t.Errorf("pipe write failed: %d", n) } }) defer timer.Stop() wg.Wait() if got == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
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) -
pkg/controller/deployment/util/deployment_util.go
newStatus.AvailableReplicas > deployment.Status.AvailableReplicas } // used for unit testing var nowFn = func() time.Time { return time.Now() } // DeploymentTimedOut considers a deployment to have timed out once its condition that reports progress // is older than progressDeadlineSeconds or a Progressing condition with a TimedOutReason reason already // exists.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenDynamicResolveIntegrationTest.groovy
failure.assertHasCause('Could not resolve group:projectA:1.1') failure.assertHasCause("Could not GET '${repo1.uri}/group/projectA/1.1/projectA-1.1.pom'") failure.assertHasCause('Read timed out') when: server.resetExpectations() repo2.getModuleMetaData("group", "projectA").expectGet() projectA1.pom.expectGet() projectA2.pom.expectGet()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 18:22:01 UTC 2023 - 38.6K bytes - Viewed (0) -
src/net/http/client.go
// was an HTTP protocol error. A non-2xx response doesn't cause an // error. Any returned error will be of type [*url.Error]. The url.Error // value's Timeout method will report true if the request timed out. // // When err is nil, resp always contains a non-nil resp.Body. // Caller should close resp.Body when done reading from it. // // Get is a wrapper around DefaultClient.Get. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 06:06:11 UTC 2024 - 33.7K bytes - Viewed (0) -
pkg/util/iptables/iptables_test.go
err = runner.RestoreAll([]byte{}, NoFlushTables, RestoreCounters) if err == nil { t.Fatal("expected failure, got success instead") } if !strings.Contains(err.Error(), "failed to acquire new iptables lock: timed out waiting for the condition") { t.Errorf("expected timeout error, got %v", err) } } // TestRestoreAllGrabOldLock tests that the iptables code will grab the
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 08 15:21:59 UTC 2023 - 46.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Monitor.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 18:22:01 UTC 2023 - 42.5K bytes - Viewed (0)