Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for routePlannerPlanThrowsOnOnlyPlan (0.21 sec)

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

        assertEvents(
          "take plan 0",
          "plan 0 TCP connecting...",
          "plan 0 TCP connect failed",
        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      @Test
      fun routePlannerPlanThrowsOnOnlyPlan() {
        val plan0 = routePlanner.addPlan()
        plan0.planningThrowable = UnknownServiceException("boom!")
    
        taskRunner.newQueue().execute("connect") {
          assertFailsWith<UnknownServiceException> {
    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