Igal,
On 5/10/23 17:05, Igal Sapir wrote:
Chris,
On Wed, May 10, 2023 at 12:28 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
Igal,
On 5/10/23 14:16, Igal Sapir wrote:
The error that I see on Java 8 is:
Testsuite: org.apache.catalina.filters.TestMapperWebapps
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
Testcase: null took 0.001 sec
Caused an ERROR
Forked Java VM exited abnormally. Please note the time in the report
does
not reflect the time until the VM exit.
junit.framework.AssertionFailedError: Forked Java VM exited abnormally.
Please note the time in the report does not reflect the time until the
VM
exit.
at java.lang.Thread.run(Thread.java:750)
Thanks for clarifying. Do you get a core file or hs_err.[pid] or
anything like that, or just "computer says no"?
The "ant clean test" ends with this output:
=== ant output begin ===
test-status:
[concat] Testsuites with skipped tests:
[concat] Testsuites with failed tests:
[concat] TEST-org.apache.catalina.filters.TestMapperWebapps.NIO2.txt
BUILD FAILED
/workspace/src/tomcat/8.5.x/build.xml:1525: Some tests completed with an
Error. See /workspace/build/tomcat/8.5.x/build/logs for details, search
for
"ERROR".
Total time: 19 seconds
=== ant output end ===
The file at the path mentioned in the ant output contains the text that I
posted earlier, with the text "junit.framework.AssertionFailedError:
Forked
Java VM exited abnormally".
No PID that I see anywhere but I might not be looking at the right place?
It would probably be in the CWD where you launched ant. So "ant test &&
ls" should give you any files like that.
I don't see any such file
What happens if you give "ant test" a specific test case to run:
ant -Dtest.entry=org.apache.catalina.filters.TestMapperWebapps test
?
That was a specific test case. I have the following entry in
build.properties:
test.entry=org.apache.catalina.filters.TestMapperWebapps
Confirmed with the following command:
❯ ant echoproperties | grep entry
[echoproperties] test.entry=org.apache.catalina.filters.TestMapperWebapps
Perfect. Can you try playing-around with fork="true"/"false" or some of
the other debug-related settings on the <junit> thing?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org