Skip to content

Commit

Permalink
Increase timeout for test of JENKINS-55805.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Nov 27, 2024
1 parent 780c734 commit ce1d681
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
* Tests the class {@link AntJavacParser}.
*/
class AntJavacParserTest extends AbstractParserTest {
private static final int ALLOWED_TIMEOUT_IN_SECONDS = 5;

AntJavacParserTest() {
super("ant-javac.txt");
}
Expand All @@ -37,7 +39,7 @@ void issue67521IgnoreJavaDocWarnings() {
*/
@Test
void issue55805() {
assertTimeoutPreemptively(Duration.ofSeconds(1), () -> parse("issue55805.txt"));
assertTimeoutPreemptively(Duration.ofSeconds(ALLOWED_TIMEOUT_IN_SECONDS), () -> parse("issue55805.txt"));
}

/**
Expand Down

0 comments on commit ce1d681

Please sign in to comment.