Skip to content

Commit 60b306d

Browse files
committed
Limit test threads to 1
1 parent f661875 commit 60b306d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/mapcode/ReferenceFileTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private static void checkFile(
101101
final AtomicInteger errors = new AtomicInteger(0);
102102
final AtomicInteger tasks = new AtomicInteger(0);
103103

104-
final int threads = Math.min(8, Runtime.getRuntime().availableProcessors() * 2);
104+
final int threads = Math.min(1, Runtime.getRuntime().availableProcessors() * 2);
105105
LOG.info("checkFile: Starting {} threads...", threads);
106106
final ExecutorService executor = Executors.newFixedThreadPool(threads);
107107

0 commit comments

Comments
 (0)