Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for activeQueues (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        factory.newConnection(pool, routeA1)
        // Racy causing flaky tests
        // assertThat(taskRunner.activeQueues()).isNotEmpty()
        assertThat(taskRunnerThreads).isNotEmpty()
        Thread.sleep(100)
        for (t in taskRunnerThreads) {
          t.interrupt()
        }
        Thread.sleep(100)
        assertThat(taskRunner.activeQueues()).isEmpty()
      }
    
      /** Use a helper method so there's no hidden reference remaining on the stack.  */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top