Skip to content

Commit

Permalink
Increase timeout in FatJarExporTests to avoid random test failures
Browse files Browse the repository at this point in the history
Give it a max of 30s per test instead of 5s. This doesn't slow down the
tests execution, it just lets the tests run a bit longer if the hardware
is slow.

Fixes #699
  • Loading branch information
fedejeanne committed Sep 20, 2023
1 parent dbe8101 commit d5a48e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public class FatJarExportTests {
@Rule
public TestName tn=new TestName();

private static final int JAVA_RUN_TIMEOUT= 50; // 10th of a second
private static final int JAVA_RUN_TIMEOUT= 300; // 10th of a second

@BeforeClass
public static void setUpTest() {
Expand Down

0 comments on commit d5a48e0

Please sign in to comment.