- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fail (0.13 sec)
-
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isSameAs import assertk.assertions.isTrue import assertk.fail import java.io.File import java.io.FileNotFoundException import java.io.IOException import java.util.ArrayDeque import kotlin.test.assertFailsWith import okhttp3.SimpleProvider import okhttp3.TestUtil
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
client.newBuilder() .readTimeout(Duration.ofSeconds(10)) // Confirm we fail before the read timeout. .pingInterval(Duration.ofMillis(500)) .build() // Set up the server to ignore the socket. It won't respond to pings! server.enqueue(MockResponse(socketPolicy = StallSocketAtStart)) // Make a call. It'll fail as soon as our pings detect a problem.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* this client silently recovers from the following problems: * * * **Unreachable IP addresses.** If the URL's host has multiple IP addresses, * failure to reach any individual IP address doesn't fail the overall request. This can * increase availability of multi-homed services. * * * **Stale pooled connections.** The [ConnectionPool] reuses sockets
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
assertThat(rstStream.streamId).isEqualTo(2) assertThat(rstStream.errorCode).isEqualTo(ErrorCode.CANCEL) } /** * When writing a set of headers fails due to an `IOException`, make sure the writer is left * in a consistent state so the next writer also gets an `IOException` also instead of * something worse (like an [IllegalStateException]. * *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)