Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Retry (0.26 sec)

  1. 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)
  2. 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)
  3. ci/official/containers/linux_arm64/Dockerfile

    RUN wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-linux-arm64 -O /usr/local/bin/bazel && chmod +x /usr/local/bin/bazel
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  4. 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)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.groovy-dsl-gradle-plugin.gradle.kts

     * limitations under the License.
     */
    
    plugins {
        id("java-library")
        id("groovy-gradle-plugin")
        id("gradlebuild.code-quality")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.test-retry")
    }
    
    java.configureJavaToolChain()
    
    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
        implementation(localGroovy())
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.build-logic.kotlin-dsl-gradle-plugin.gradle.kts

        id("java-library")
        id("org.gradle.kotlin.kotlin-dsl") // this is 'kotlin-dsl' without version
        id("gradlebuild.code-quality")
        id("gradlebuild.ktlint")
        id("gradlebuild.ci-reporting")
        id("gradlebuild.test-retry")
    }
    
    java.configureJavaToolChain()
    
    dependencies {
        api(platform("gradlebuild:build-platform"))
        implementation("gradlebuild:gradle-plugin")
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

        id: String?,
        type: String?,
        data: String,
      ) {
        listener.onEvent(this, id, type, data)
      }
    
      override fun onRetryChange(timeMs: Long) {
        // Ignored. We do not auto-retry.
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

            // 15
            "event\r\n".encodeUtf8(),
            // 16
            "event\r".encodeUtf8(),
            // 17
            "event\n".encodeUtf8(),
            // 18
            "retry: ".encodeUtf8(),
            // 19
            "retry:".encodeUtf8(),
          )
    
        private val CRLF = "\r\n".encodeUtf8()
    
        @Throws(IOException::class)
        private fun BufferedSource.readData(data: Buffer) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

         */
        @JvmField val minimumConcurrentCalls: Int = 0,
        /** How long to wait to retry pre-emptive connection attempts that fail. */
        @JvmField val backoffDelayMillis: Long = 60 * 1000,
        /** How much jitter to introduce in connection retry backoff delays */
        @JvmField val backoffJitterMillis: Int = 100,
      )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.kotlin-shared-runtime.gradle.kts

        kotlin("jvm")
        id("gradlebuild.module-jar")
        id("gradlebuild.reproducible-archives")
        id("gradlebuild.repositories")
        id("gradlebuild.code-quality")
        id("gradlebuild.ktlint")
        id("gradlebuild.test-retry")
        id("gradlebuild.ci-reporting")
    }
    
    java {
        configureJavaToolChain()
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    kotlin {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Oct 03 15:32:00 GMT 2023
    - 652 bytes
    - Viewed (0)
Back to top