Description
Ratis build configures Surefire fork timeout to 10 minutes:
<forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds>
Yet, sometimes Surefire fork is not killed, check runs until Github workflow is cancelled:
Tue, 12 Mar 2024 19:43:11 GMT [INFO] Running org.apache.ratis.netty.TestRaftWithNetty Wed, 13 Mar 2024 01:40:25 GMT Error: The operation was canceled.
The problem is that:
Since 3.0.0-M4 the process checkers are disabled. (doc)
The goal of this task:
- Enable process checkers to apply the fork timeout.
- Downgrade to Surefire 3.0.0-M4 due to: SUREFIRE-1722 (affects M6 and newer),
SUREFIRE-1815(affects M5).
Attachments
Issue Links
- links to