Bukama commented on PR #3352:
URL: https://github.com/apache/maven-surefire/pull/3352#issuecomment-4699190716
With current 4.0.0 SNAPSHOT it still fails
```
Apache Maven 4.0.0-SNAPSHOT (8bedea9479918bdac71455635f0c51a2b5730f05)
Maven home: C:\apache-maven-4.0.x-self
Java version: 25.0.2, vendor: Azul Systems, Inc., runtime: C:\Program
Files\Zulu\zulu-25
Default locale: de_DE, platform encoding: UTF-8, time zone: Europe/Berlin
OS name: "windows 11", version: "10.0", arch: "amd64", family: "winnt"
```
```
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
0.543 s <<< FAILURE! -- in
org.apache.maven.plugin.surefire.extensions.CommandlineExecutorTest
[ERROR]
org.apache.maven.plugin.surefire.extensions.CommandlineExecutorTest.shouldExecuteNativeCommand
-- Time elapsed: 0.526 s <<< FAILURE!
Wanted but not invoked:
eventHandler.handleEvent(contains("a.txt"));
-> at
org.apache.maven.plugin.surefire.extensions.CommandlineExecutorTest.shouldExecuteNativeCommand(CommandlineExecutorTest.java:93)
Actually, there were zero interactions with this mock.
at
org.apache.maven.plugin.surefire.extensions.CommandlineExecutorTest.shouldExecuteNativeCommand(CommandlineExecutorTest.java:93)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at
java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:511)
at
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1450)
at
java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2019)
at
java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] CommandlineExecutorTest.shouldExecuteNativeCommand:93
Wanted but not invoked:
eventHandler.handleEvent(contains("a.txt"));
-> at
org.apache.maven.plugin.surefire.extensions.CommandlineExecutorTest.shouldExecuteNativeCommand(CommandlineExecutorTest.java:93)
Actually, there were zero interactions with this mock.
[INFO]
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
--------------------------------------------------------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Maven Surefire 3.6.0-M2-SNAPSHOT:
[INFO]
[INFO] Apache Maven Surefire
................................................................................
SUCCESS [ 4.213 s]
[INFO] Surefire Shared Utils
................................................................................
SUCCESS [ 1.784 s]
[INFO] Surefire Logger API
..................................................................................
SUCCESS [ 4.247 s]
[INFO] Surefire API
.........................................................................................
SUCCESS [ 15.399 s]
[INFO] Surefire Extensions API
..............................................................................
FAILURE [ 3.130 s]
[INFO] Surefire Extensions SPI
..............................................................................
SKIPPED
```
--
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]