Skip to content

Commit

Permalink
increase timeout for flaky test EndlessLoopTest
Browse files Browse the repository at this point in the history
sometimes on GitHub Actions, 3 seconds is not enough for initial loading of system fonts by PdfBox.
  • Loading branch information
asolntsev committed Feb 6, 2025
1 parent a9894d0 commit 0564cae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class EndlessLoopTest {

@Test
@Timeout(value = 3, unit = SECONDS)
@Timeout(value = 10, unit = SECONDS)
public void wordwrap() {
URL htmlUrl = requireNonNull(getClass().getResource("EndlessLoopTest_wordwrap.html"));
byte[] pdf = Html2Pdf.fromUrl(htmlUrl);
Expand Down

0 comments on commit 0564cae

Please sign in to comment.