Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for oldJobFinishesNewJobCanRunDifferentHost (0.15 sec)

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

        client.newCall(newRequest("http://a/5")).enqueue(callback)
        dispatcher.maxRequestsPerHost = 4
        executor.assertJobs("http://a/1", "http://a/2", "http://a/3", "http://a/4")
      }
    
      @Test
      fun oldJobFinishesNewJobCanRunDifferentHost() {
        dispatcher.maxRequests = 1
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://b/1")).enqueue(callback)
        executor.finishJob("http://a/1")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top