Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 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 Dec 26 11:42:13 UTC 2025
    - 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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 18 10:36:40 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. .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 = 60)
    
            if (os == Os.LINUX) {
                steps {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 5.6K 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 Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. .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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 19 08:02:04 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                // As a workaround, we tag all non-spock integration tests and use `includeTags(none() | Flaky)` here.
                (options as JUnitPlatformOptions).includeTags("none() | org.gradle.test.fixtures.Flaky")
                includeSpockAnnotation("org.gradle.test.fixtures.Flaky")
            }
        }
    }
    
    fun Test.runWithJavaVersion(testJvmVersion: JavaLanguageVersion) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

        const val GRADLE_INSTALL_PATH = "gradle_installPath"
    
    
        /**
         * Specify the flaky test quarantine strategy:
         *
         * -PflakyTests=include: run all tests, including flaky tests.
         * -PflakyTests=exclude: run all tests, excluding flaky tests.
         * -PflakyTests=only: run flaky tests only.
         *
         * Default value (if absent) is "include".
         */
        const val FLAKY_TEST = "flakyTests"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 22:01:30 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  9. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top