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).isSameInstanceAs(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 Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
Back to Top