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 eclipse-jdt#699
  • Loading branch information
fedejeanne committed Sep 21, 2023
1 parent 80cdc89 commit c991cd9
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 c991cd9

Please sign in to comment.