Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 258 for timeEnd (0.36 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            };
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class TestService extends AbstractScheduledService {
        CyclicBarrier runFirstBarrier = new CyclicBarrier(2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            };
        TimeoutException e =
            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class TestService extends AbstractScheduledService {
        CyclicBarrier runFirstBarrier = new CyclicBarrier(2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    			}
    
    			return sarErr
    		}, webhook.DefaultShouldRetry); err != nil {
    			klog.Errorf("Failed to make webhook authorizer request: %v", err)
    
    			// we're returning NoOpinion, and the parent context has not timed out or been canceled
    			if w.decisionOnError == authorizer.DecisionNoOpinion && ctx.Err() == nil {
    				w.metrics.RecordWebhookFailOpen(ctx, w.name, metricsResult)
    			}
    
    			return w.decisionOnError, "", err
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. tests/integration/pilot/analyze_test.go

    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    
    			// We should time out immediately.
    			_, err := istioctlSafe(t, istioCtl, ns.Name(), true, "--timeout=0s")
    			g.Expect(err.Error()).To(ContainSubstring("timed out"))
    		})
    }
    
    // Verify the error line number in the message is correct
    func TestErrorLine(t *testing.T) {
    	// nolint: staticcheck
    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/controlling_task_execution.adoc

    The task will be marked as `FAILED`.
    
    <<sec:finalizer_tasks,Finalizer tasks>> are executed.
    If `--continue` is used, other tasks continue running.
    
    Tasks that don't respond to interrupts can't be timed out.
    All of Gradle's built-in tasks respond to timeouts.
    
    ====
    include::sample[dir="snippets/tasks/timeout/kotlin",files="build.gradle.kts[tags=without-import]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Mar 23 22:37:03 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. src/crypto/tls/tls_test.go

    		t.Fatal("Write which previously failed should still time out")
    	}
    
    	// Verify the error
    	if ne := err.(net.Error); ne.Temporary() != false {
    		t.Error("Write timed out but incorrectly classified the error as Temporary")
    	}
    	if !isTimeoutError(err) {
    		t.Error("Write timed out but did not classify the error as a Timeout")
    	}
    }
    
    type readerFunc func([]byte) (int, error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  7. istioctl/pkg/waypoint/waypoint.go

    								programmed = true
    								break
    							}
    						}
    					}
    					if programmed {
    						break
    					}
    					if time.Since(startTime) > waitTimeout {
    						errorMsg := fmt.Sprintf("timed out while waiting for waypoint %v/%v", gw.Namespace, gw.Name)
    						if err != nil {
    							errorMsg += fmt.Sprintf(": %s", err)
    						}
    						return fmt.Errorf(errorMsg)
    					}
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	if err := os.MkdirAll(dir, 0777); err != nil {
    		f.err = err
    		return
    	}
    
    	goVers, progPath, progVers := telemetry.ProgramInfo(info)
    	f.meta = fmt.Sprintf("TimeBegin: %s\nTimeEnd: %s\nProgram: %s\nVersion: %s\nGoVersion: %s\nGOOS: %s\nGOARCH: %s\n\n",
    		begin.Format(time.RFC3339), end.Format(time.RFC3339),
    		progPath, progVers, goVers, runtime.GOOS, runtime.GOARCH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. pilot/pkg/model/jwks_resolver_test.go

    			expectedFailure: true,
    		},
    	}
    	for _, c := range cases {
    		_, err := r.GetPublicKey(c.in[0], c.in[1], c.timeout)
    		if c.timeout < serverDelay && err == nil {
    			t.Errorf("GetPublicKey(\"\", %+v) fails: did not timed out as expected", c)
    		} else if c.timeout >= serverDelay && err != nil {
    			t.Errorf("GetPublicKey(\"\", %+v) fails: expected no error, got (%v)", c, err)
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/package-lock.json

          },
          "funding": {
            "url": "https://github.com/sponsors/ljharb"
          }
        },
        "node_modules/string.prototype.trimend": {
          "version": "1.0.6",
          "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz",
          "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==",
          "dev": true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 156K bytes
    - Viewed (0)
Back to top