Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 48 for flaky (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.RecordingEventListener
    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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketEffect.CloseStream
    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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.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 testBuildIfSupported() {
        val actual = ConscryptPlatform.buildIfSupported()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

      @RegisterExtension
      val clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      val testLogHandler: TestLogHandler = TestLogHandler(Http2::class.java)
    
      // Flaky https://github.com/square/okhttp/issues/4632
      // Flaky https://github.com/square/okhttp/issues/4633
      private val handshakeCertificates: HandshakeCertificates =
        platform.localhostHandshakeCertificates()
    
      @StartStop
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.RecordingOkAuthenticator
    import okhttp3.internal.connection.RealConnectionPool.Companion.get
    import okhttp3.logging.HttpLoggingInterceptor
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.BufferedSink
    import org.hamcrest.BaseMatcher
    import org.hamcrest.CoreMatchers
    import org.hamcrest.Description
    import org.hamcrest.Matcher
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallHandshakeTest.kt

        assertThat(handshakeEnabledCipherSuites).containsExactly(
          *expectedConnectionCipherSuites.toTypedArray(),
        )
      }
    
      @Test
      fun clientOrderApplied() {
    //    // Flaky in CI
    //    // CallHandshakeTest[jvm] > defaultOrderMaintained()[jvm] FAILED
    //    //  org.bouncycastle.tls.TlsFatalAlertReceived: handshake_failure(40)
    //    platform.assumeNotBouncyCastle()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

            },
          )
    
        val pool =
          factory.newConnectionPool(
            taskRunner = taskRunner,
            maxIdleConnections = 2,
          )
        factory.newConnection(pool, routeA1)
        // Racy causing flaky tests
        // assertThat(taskRunner.activeQueues()).isNotEmpty()
        assertThat(taskRunnerThreads).isNotEmpty()
        Thread.sleep(100)
        for (t in taskRunnerThreads) {
          t.interrupt()
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/GcFinalization.java

       * gigantic heap, in which case we scale by heap size.
       */
      private static long timeoutSeconds() {
        // This class can make no hard guarantees.  The methods in this class are inherently flaky, but
        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top