Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2073

Enable Surefire process checkers

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • None
    • 3.1.0
    • test
    • None

    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:

      1. Enable process checkers to apply the fork timeout.
      2. Downgrade to Surefire 3.0.0-M4 due to: SUREFIRE-1722 (affects M6 and newer), SUREFIRE-1815 (affects M5).

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m