Skip to content

Commit a08b8c8

Browse files
Justin Breitfellergreenrobot-team
authored andcommitted
Update the timeout on the tx task .get() since it was way too small.
1 parent e7971ab commit a08b8c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/TransactionTest.java

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

457457
//Iterate through all the txTasks and make sure all transactions succeeded.
458458
for (Future<Integer> txTask : txTasks) {
459-
txTask.get(1, TimeUnit.MILLISECONDS);
459+
txTask.get(1, TimeUnit.SECONDS);
460460
}
461461
}
462462
}

0 commit comments

Comments
 (0)