Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Flaky (0.03 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt

    package okhttp3.testing
    
    @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
    @Retention(AnnotationRetention.RUNTIME)
    /**
     * Annotation marking a test as flaky, and requires extra logging and linking against
     * a known github issue.  This does not ignore the failure.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 902 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

            val os = testCoverage.os
            val arch = testCoverage.arch
            id("${model.projectId}_FlakyQuarantine_${testCoverage.asId(model)}")
            name = "Flaky Test Quarantine - ${testCoverage.asName()}"
            description = "Run all flaky tests skipped multiple times"
    
            applyDefaultSettings(os = os, arch = arch, buildJvm = BuildToolBuildJvm, timeout = 180)
    
            if (os == Os.LINUX) {
                steps {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/flaking-test.yaml

    name: Flaking Test
    description: Report flaky tests or jobs in Kubernetes CI
    labels: kind/flake
    body:
      - type: textarea
        id: jobs
        attributes:
          label: Which jobs are flaking?
          description: |
            Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI.
            Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

    import assertk.assertions.isNotEmpty
    import javax.net.ssl.SSLSocket
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okhttp3.testing.PlatformVersion
    import okio.ByteString.Companion.toByteString
    import org.junit.jupiter.api.Assertions.assertEquals
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt

    import okhttp3.internal.connection.RealConnection
    import okhttp3.internal.connection.RealConnection.Companion.IDLE_CONNECTION_HEALTHY_NS
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Flaky
      @Test
      fun noTimeout() {
        // Flaky https://github.com/square/okhttp/issues/5304
        server.enqueue(
          MockResponse
            .Builder()
            .headersDelay(250, TimeUnit.MILLISECONDS)
            .body(BIG_ENOUGH_BODY)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/util/RerunFlakyTest.kt

    class RerunFlakyTest(
        os: Os,
        arch: Arch = Arch.AMD64,
    ) : BuildType({
            val id = "Util_RerunFlakyTest${os.asName()}${arch.asName()}"
            name = "Rerun Flaky Test - ${os.asName()} ${arch.asName()}"
            description = "Allows you to rerun a selected flaky test 10 times"
            id(id)
            val testJvmVendorParameter = "testJavaVendor"
            val testJvmVersionParameter = "testJavaVersion"
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 19 08:02:04 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      @SuppressLint("NewApi")
      private fun ExtensionContext.isFlaky(): Boolean =
        (testMethod.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true) ||
          (testClass.orElseGet { null }?.isAnnotationPresent(Flaky::class.java) == true)
    
      @Synchronized private fun logEvents() {
        // Will be ineffective if test overrides the listener
        synchronized(clientEventsList) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

    import mockwebserver3.junit5.StartStop
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.connection.RealConnectionPool.Companion.get
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.internal.TlsUtil.localhost
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Flaky
    @Tag("Slow")
    class WebSocketHttpTest {
      // Flaky https://github.com/square/okhttp/issues/4515
      // Flaky https://github.com/square/okhttp/issues/4953
      @RegisterExtension
      var clientTestRule = configureClientTestRule()
    
      @RegisterExtension
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
Back to top