Searched refs:remainingTasks (Results 1 – 1 of 1) sorted by relevance
186 CountDownLatch remainingTasks = new CountDownLatch(numThreads); in testGetFromMultipleThreads() local197 remainingTasks.countDown(); in testGetFromMultipleThreads()202 assertThat(remainingTasks.getCount()).isEqualTo(10); in testGetFromMultipleThreads()224 assertThat(remainingTasks.getCount()).isEqualTo(10); in testGetFromMultipleThreads()232 remainingTasks.await(); in testGetFromMultipleThreads()236 assertThat(remainingTasks.getCount()).isEqualTo(0); in testGetFromMultipleThreads()