Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1941

Allow overriding PpidChecker OS command line in POM configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.22.2
    • None
    • None

    Description

      There are many Linux and Unix variants. The PpidChecker has received several fixes over time to handle various edge cases when checking to make sure that the process is still alive. When PpidChecker doesn't detect that the test is running because of some variant behavior as it relates to the output format of /bin/ps, the developer's only recourse is to disable forking which makes the test execution take longer.

      This improvement would allow a configuration setting to override the default command issued to the operating system to provide the process status in the form that PpidChecker can use.

      For example:

      <plugin>
        ...
        <configuration>
          <ps-command>/other/bin/ps -o etime:1=,pid:1= -p %d</ps-command>
        </configuration>
      </plugin>

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbatchelor Marc Batchelor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: