Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for noDnsLookupOnPooledConnection (0.11 seconds)

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

        assertThat(dnsEnd.call).isSameAs(call)
        assertThat(dnsEnd.domainName).isEqualTo(server.hostName)
        assertThat(dnsEnd.inetAddressList.size).isEqualTo(1)
      }
    
      @Test
      fun noDnsLookupOnPooledConnection() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Seed the pool.
        val call1 =
          client.newCallWithListener(
            Request
              .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
Back to Top