- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Flaky (0.03 sec)
-
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") } @TestRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jun 18 10:36:40 UTC 2025 - 10.9K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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() @RegisterExtensionRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
import okhttp3.EventRecorder import okhttp3.OkHttpClient import okhttp3.OkHttpClientTestRule import okhttp3.Request import okhttp3.internal.http2.ConnectionShutdownException import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import okhttp3.tls.internal.TlsUtil.newKeyManager import okhttp3.tls.internal.TlsUtil.newTrustManager
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 13K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
* transitionService in the wrong order due to a race. Due to the fact that it is a race this test * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race * sneaks back in, and in this case flaky means something is definitely wrong. * * <p>Before the bug was fixed this test would fail at least 30% of the time. */ public void testTransitionRace() throws TimeoutException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt
import mockwebserver3.SocketEffect.CloseStream import okhttp3.CallEvent.ConnectEnd import okhttp3.CallEvent.ConnectFailed import okhttp3.CallEvent.ConnectStart import okhttp3.internal.http2.ErrorCode import okhttp3.testing.Flaky import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.6K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
prepareReportForCiPublishing(tmpTestFiles + reports) } else { prepareReportForCiPublishing(reports) } } // We count the test task containing flaky result as failed private fun containsFailedTest(testBinaryResultsDir: File): Boolean { var containingFailures = false val store = SerializableTestResultStore(testBinaryResultsDir.toPath())
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Nov 05 11:43:49 UTC 2025 - 12.5K bytes - Viewed (0)