Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Retry (0.16 sec)

  1. bin/retry.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # retry.sh retries a command until it succeeds. It accepts a regex pattern to match failures on to
    # determine if a retry should be attempted.
    # Example: retry.sh "connection timed out" ./my-flaky-script.sh some args
    # This will run "my-flaky-script.sh", retrying any failed runs that output "connection timed out" up
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 11 16:08:08 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.test-retry.gradle.kts

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    plugins {
        id("org.gradle.test-retry")
    }
    
    if (System.getenv().containsKey("CI")) {
        tasks.withType<Test>().configureEach {
            retry {
                maxRetries.set(2)
            }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 06:43:17 GMT 2023
    - 810 bytes
    - Viewed (0)
  3. istioctl/pkg/describe/testdata/describe/tls_config.json

                          "timeout": "0s",
                          "retry_policy": {
                            "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                            "num_retries": 2,
                            "retry_host_predicate": [
                              {
                                "name": "envoy.retry_host_predicates.previous_hosts"
                              }
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 8K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/testdata/routes/istio-gateway-http-route-prefix/configdump.json

               "timeout": "0s",
               "retry_policy": {
                "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                "num_retries": 2,
                "retry_host_predicate": [
                 {
                  "name": "envoy.retry_host_predicates.previous_hosts",
                  "typed_config": {
                   "@type": "type.googleapis.com/envoy.extensions.retry.host.previous_hosts.v3.PreviousHostsPredicate"
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "second event"))
      }
    
      @Test
      fun retry() {
        consumeEvents(
          """
          |retry: 22
          |
          |data: first event
          |id: 1
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(22L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/testdata/routes/k8s-gateway-http-route-path-prefix/configdump.json

               "timeout": "0s",
               "retry_policy": {
                "retry_on": "connect-failure,refused-stream,unavailable,cancelled,retriable-status-codes",
                "num_retries": 2,
                "retry_host_predicate": [
                 {
                  "name": "envoy.retry_host_predicates.previous_hosts",
                  "typed_config": {
                   "@type": "type.googleapis.com/envoy.extensions.retry.host.previous_hosts.v3.PreviousHostsPredicate"
    Json
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 3.1K bytes
    - Viewed (1)
  7. cmd/os-reliable.go

    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

        e is InterruptedIOException -> false
    
        // If the problem was a CertificateException from the X509TrustManager, do not retry.
        e is SSLHandshakeException && e.cause is CertificateException -> false
    
        // e.g. a certificate pinning error.
        e is SSLPeerUnverifiedException -> false
    
        // Retry for all other SSL failures.
        e is SSLException -> true
    
        else -> false
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
          check(retry == null)
          return FakePlan(nextPlanId++)
            .also {
              retry = it
            }
        }
    
        fun createConnectTcpNextPlan(): FakePlan {
          check(connectTcpNextPlan == null)
          return FakePlan(nextPlanId++)
            .also {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/ReusePlan.kt

      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top