Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for waitForConnectionShutdown (0.72 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
    
        // Add delays for DISCONNECT_AT_END to propogate
        waitForConnectionShutdown(connections[0])
        val call2 = localClient.newCall(Request(server.url("/")))
        val response2 = call2.execute()
        assertThat(response2.body.string()).isEqualTo("DEF")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
Back to top