- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 55 for flaky (0.02 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/testing/Flaky.kt
* limitations under the License. */ package okhttp3.testing /** * Annotation marking a test as flaky, and requires extra logging and linking against * a known github issue. This does not ignore the failure. */ @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 902 bytes - Click Count (0) -
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").build() assertEquals(TaskOutcome.SUCCESS, result.task(":flaky-test-without-leftover:test")!!.outcome) assertArchivedFilesSeen("report-flaky-test-without-leftover-test.zip") } @TestCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Feb 10 00:16:44 GMT 2026 - 11.6K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt
val os = 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 {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jan 07 10:42:35 GMT 2026 - 5.6K bytes - Click Count (0) -
.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"
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 19 08:02:04 GMT 2025 - 5.1K bytes - Click Count (0) -
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
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 8.4K bytes - Click Count (0) -
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"
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 05:13:29 GMT 2026 - 18K bytes - Click Count (0) -
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)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 10.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CorrettoTest.kt
client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) { System.err.println("Flaky TLSv1.3 with google") // assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } } @Test fun testIfSupported() { assertThat(PlatformRule.isCorrettoSupported).isTrue()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
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 import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension @Flaky // STDOUT logging enabled for test @Timeout(30) @Tag("Slow")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 18:33:48 GMT 2025 - 9.7K bytes - Click Count (0) -
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) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.8K bytes - Click Count (0)