Skip to content

Commit

Permalink
Upgrade JUnit to 5.8.2
Browse files Browse the repository at this point in the history
Seems to be slightly slower on parallel tests.
Add tolerance to ChronometerTest
  • Loading branch information
ar committed Jul 22, 2022
1 parent a6b4cb2 commit e1a43b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jpos/libraries.gradle
Expand Up @@ -13,7 +13,7 @@ ext {
mockito_jupiter: 'org.mockito:mockito-junit-jupiter:4.6.1',
fest_assert: 'org.easytesting:fest-assert:1.4',
xmlunit: 'xmlunit:xmlunit:1.6',
junit: 'org.junit.jupiter:junit-jupiter:5.7.1',
junit: 'org.junit.jupiter:junit-jupiter:5.8.2',
bouncycastle: [
'org.bouncycastle:bcprov-jdk15on:1.69',
'org.bouncycastle:bcpg-jdk15on:1.69'
Expand Down
2 changes: 1 addition & 1 deletion jpos/src/test/java/org/jpos/util/ChronometerTest.java
Expand Up @@ -23,7 +23,7 @@
import static org.junit.jupiter.api.Assertions.assertTrue;

public class ChronometerTest {
private long TOLERANCE = 100L;
private long TOLERANCE = 200L;
@Test
public void testElapsed() throws InterruptedException {
Chronometer c = new Chronometer();
Expand Down

0 comments on commit e1a43b1

Please sign in to comment.