Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Flaky (0.09 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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 902 bytes
    - Viewed (0)
  2. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

        }
    
        @Test
        fun `flaky tests without leftovers get reports achieved`() {
            val result = run(":flaky-test-without-leftover:test", "--no-watch-fs").build()
            assertEquals(TaskOutcome.SUCCESS, result.task(":flaky-test-without-leftover:test")!!.outcome)
    
            assertArchivedFilesSeen("report-flaky-test-without-leftover-test.zip")
        }
    
        @Test
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

        id("${model.projectId}_FlakyQuarantine_${os.asName()}_${arch.asName()}")
        name = "Flaky Test Quarantine - ${os.asName()} ${arch.asName()}"
        description = "Run all flaky tests skipped multiple times"
    
        applyDefaultSettings(os = os, arch = arch, buildJvm = BuildToolBuildJvm, timeout = 180)
    
        val testsWithOs = model.stages.filter {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. .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 Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. bin/retry.sh

    # 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
    # to 5 times.
    
    function fail {
      echo "${1}" >&2
      exit 1
    }
    
    function isatty() {
     if [ -t 1 ] ; then
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 11 16:08:08 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

    import assertk.assertions.isEmpty
    import assertk.assertions.isNotEmpty
    import javax.net.ssl.SSLSocket
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/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.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/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)
            .build(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

    import mockwebserver3.SocketPolicy.FailHandshake
    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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top