1
0

use all threads in test

This commit is contained in:
2024-11-18 20:37:40 +03:00
parent 7d285efbe4
commit bb3dc3cb1e

View File

@@ -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