Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for timeoutFollowingRedirectOnNewConnection (0.22 sec)

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

          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Test
      fun timeoutFollowingRedirectOnNewConnection() {
        val otherServer = MockWebServer()
        otherServer.start()
        server.enqueue(
          MockResponse
            .Builder()
            .code(HttpURLConnection.HTTP_MOVED_TEMP)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top