diff --git a/src/test/java/edu/hm/hafner/analysis/parser/AntJavacParserTest.java b/src/test/java/edu/hm/hafner/analysis/parser/AntJavacParserTest.java index 0f89d3100..4a81857a1 100644 --- a/src/test/java/edu/hm/hafner/analysis/parser/AntJavacParserTest.java +++ b/src/test/java/edu/hm/hafner/analysis/parser/AntJavacParserTest.java @@ -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"); } @@ -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")); } /**