From ce1d681cd8cfa6e1a05fb349a33d74ed497a5176 Mon Sep 17 00:00:00 2001 From: Ulli Hafner Date: Wed, 27 Nov 2024 09:06:26 +0100 Subject: [PATCH] Increase timeout for test of JENKINS-55805. --- .../edu/hm/hafner/analysis/parser/AntJavacParserTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")); } /**