anmol-saxena-14 opened a new pull request, #1968:
URL: https://github.com/apache/activemq/pull/1968

   **## Problem**
   Surefire 3.x uses `wmic` to periodically check whether the parent Maven 
process is still alive. `wmic` was removed in Windows 11 22H2, so the check 
always fails — the forked test, JVM concludes the parent has died and calls 
System.exit(1) before any test runs.
   
     **Symptoms on Windows 11:**
         [ERROR] The forked VM terminated without properly saying goodbye.
         [ERROR] Process Exit Code: 1
   
    **## Change**
   Extract `enableProcessChecker` into an overridable property with **default** 
`all` . Windows 11 developers can now run tests using: **`mvn test 
-Dsurefire.enableProcessChecker=ping`**.
   
   No behaviour change for CI or any other environment.
   
   **Note:**  `ping` uses the stdin pipe to detect parent-process death rather 
than `wmic`, and works correctly on all platforms.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to