This is an automated email from the ASF dual-hosted git repository. struberg pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openjpa.git
commit c89a94abd8d31eb5571a51764e97d7061ea7ea47 Author: Mark Struberg <strub...@apache.org> AuthorDate: Sat Apr 10 11:10:51 2021 +0200 reduce loop count because that test takes 2 minutes --- .../openjpa/persistence/optlockex/timestamp/TestTimestampOptLockEx.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/optlockex/timestamp/TestTimestampOptLockEx.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/optlockex/timestamp/TestTimestampOptLockEx.java index 1f60524..422da7d 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/optlockex/timestamp/TestTimestampOptLockEx.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/optlockex/timestamp/TestTimestampOptLockEx.java @@ -59,7 +59,7 @@ public class TestTimestampOptLockEx extends SingleEMFTestCase { //This loop is necessary since we need a timestamp which has been rounded up //by the database, or by OpenJPA such that the in-memory version of the Timestamp //varies from that which is in the database. - for (int i = 0; i < 50000; i++) { + for (int i = 0; i < 5000; i++) { EntityManager em = emf.createEntityManager(); EntityTransaction tx = em.getTransaction();