Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for deterministic (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        // number 0. Since the client may have attempted to reuse the broken connection just before
        // creating a fresh connection, the server may have recorded 2 requests at this point. The order
        // of recording is non-deterministic.
        val requestAfter = server.takeRequest()
        assertThat(
          requestAfter.exchangeIndex == 0 ||
            server.requestCount == 3 &&
            server.takeRequest().exchangeIndex == 0,
        ).isTrue()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top