All, I was testing 7.0.25 and "ant test" reports BUILD SUCCESSFUL but I started looking at the TEST-*.txt files that are emitted and I was wondering about a few things.
First, I should probably be look at the bottom of the file for the junit summary that looks like this: Testsuite: org.apache.tomcat.util.threads.TestLimitLatch Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 2.545 sec Observing the "Failures: 0, Errors: 0" indicates that the tests have all passed correctly, right? I'm asking because I can also see things like this: TEST-org.apache.catalina.connector.TestMaxConnections.APR.txt:INFO: There were [4] passed requests and [2] connection failures Obviously, that's an INFO line, but it does indicate a "failure" of some kind. There are also some log lines like this: TEST-org.apache.catalina.startup.TestListener.NIO.txt:SEVERE: Context [/] startup failed due to previous errors Does that merely indicate that the test itself caused a failure, and that the failure-to-startup was intentional? Similarly: TEST-org.apache.catalina.tribes.group.interceptors.TestNonBlockingCoordinator.APR.txt:org.apache.catalina.tribes.ChannelException: Send failed, and sender is disconnected. Not retrying.; Faulty members:tcp://{127, 0, 0, 1}:4005; Again, all test files say "Failures: 0, Errors: 0" so I guess everything is okay. It's just tough to see those log lines without asking. Thanks, -chris
signature.asc
Description: OpenPGP digital signature