use all threads in test
This commit is contained in:
@@ -31,7 +31,7 @@ public abstract class ConcurrentCurrencyExchangeTest {
|
|||||||
|
|
||||||
exchange = createExchange(Set.of(RUB_CNY));
|
exchange = createExchange(Set.of(RUB_CNY));
|
||||||
|
|
||||||
executorService = Executors.newFixedThreadPool(10);
|
executorService = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user