Searched refs:threadCount (Results 1 – 1 of 1) sorted by relevance
60 for (int threadCount = 10; threadCount <= 200; threadCount += 10) { in testAddToMetricsMultiThreaded_success()61 testAddToMetricsMultiThreaded(threadCount); in testAddToMetricsMultiThreaded_success()65 private void testAddToMetricsMultiThreaded(int threadCount) in testAddToMetricsMultiThreaded() argument90 List<Callable<HashMap<String, Metric>>> tasks = Collections.nCopies(threadCount, task); in testAddToMetricsMultiThreaded()93 ExecutorService executorService = Executors.newFixedThreadPool(threadCount); in testAddToMetricsMultiThreaded()106 assertEquals(threadCount, metricsData.size()); in testAddToMetricsMultiThreaded()