Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for firstPlanConnectedBeforeSecondPlan (0.12 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

    1. )
    2.  
    3. taskFaker.advanceUntil(240.ms)
    4. assertEvents(
    5. "plan 0 TCP connected",
    6. "plan 0 TLS connecting...",
    7. "plan 0 TLS connected",
    8. )
    9. }
    10.  
    11. @Test
    12. fun firstPlanConnectedBeforeSecondPlan() {
    13. val plan0 = routePlanner.addPlan()
    14. plan0.tcpConnectDelayNanos = 260.ms
    15. val plan1 = routePlanner.addPlan()
    16. plan1.tcpConnectDelayNanos = 20.ms // Connect at time = 270 ms.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top