Skip to content

Commit 344446c

Browse files
committed
build fix (wrong number of processors)
1 parent 005f716 commit 344446c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

jooby-executor/src/test/java/org/jooby/exec/ExecTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public void scheduled1() throws Exception {
201201

202202
@Test
203203
public void forkJoin() throws Exception {
204-
int n = 8;
204+
int n = Runtime.getRuntime().availableProcessors();
205205
Config conf = ConfigFactory.empty()
206206
.withValue("executors", ConfigValueFactory.fromAnyRef("forkjoin, asyncMode"));
207207
new MockUnit(Env.class, Binder.class)

0 commit comments

Comments
 (0)