>>>>> Steinar Bang <[email protected]>:

> Also there is a java process left running when the test completes with
> error, so there is some cleanup missing from the test setup (I have to
> kill that process to be allowed to run the test again. If not, windows
> file locking prevents "mvn clean" from deleting the target/exam
> directory structure).  

There is this output at the end of the "mvn clean install":
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on 
project ukelonn.tests: Execution default-test of goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test failed: The forked 
VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program 
Files\Java\jdk1.8.0_121\jre\bin\java" -jar 
C:\Users\sbang\workspaces\ws06\ukelonn\ukelonn.tests\target\surefire\surefirebooter5197692333401719291.jar
 
C:\Users\sbang\workspaces\ws06\ukelonn\ukelonn.tests\target\surefire\surefire8860295739440543272tmp
 
C:\Users\sbang\workspaces\ws06\ukelonn\ukelonn.tests\target\surefire\surefire_05835872688929628334tmp"

Obviously maven thinks the process has terminated.  Just as obviously
there is still a java process running (that prevents delete of the
target\exam directory structure).

Reply via email to