Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeSynchronousCall (0.16 sec)

  1. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        val a2 = client.newCall(newRequest("http://a/2"))
        val a3 = client.newCall(newRequest("http://a/3"))
        val a4 = client.newCall(newRequest("http://a/4"))
        val t1 = makeSynchronousCall(a1)
        val t2 = makeSynchronousCall(a2)
    
        // We created 4 calls and started 2 of them. That's 2 running calls and 0 queued.
        ready.await()
        assertThat(dispatcher.runningCallsCount()).isEqualTo(2)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top