John,

On 2/19/22 05:27, John Barrow wrote:
I have re-run the Tomcat tests using 4 cores (all my machine has!) and
time came down to 35m 33s. Not bad.

Definitely better. Ask IT for a better computer ;)

I have written my own ‘grep’ to review the output directory and I
think that the number of failures has come down now using all the
cores so some may have been timing issues

There shouldn't be any timing-issues in the unit tests. Anything you find will be ... interesting.

You shouldn't have had to write your own grep. Just install "bash" on Windows (I think even MS offers this, now). It should come with some basic command-line utilities, grep among them.

The 5 that are reported are


C:\Community\Tomcat\tomcat-main\output\build\logs\TEST-jakarta.servlet.http.TestHttpServletDoHeadValidWrite513.NIO.txt
   Tests run: 1152, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 57.275 sec

C:\Community\Tomcat\tomcat-main\output\build\logs\TEST-org.apache.coyote.http2.TestStreamProcessor.NIO.txt
   Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.282 sec

C:\Community\Tomcat\tomcat-main\output\build\logs\TEST-org.apache.coyote.http2.TestStreamProcessor.NIO2.txt
   Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.008 sec

C:\Community\Tomcat\tomcat-main\output\build\logs\TEST-org.apache.jasper.runtime.TestJspRuntimeLibrary.NIO.txt
   Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.813 sec

C:\Community\Tomcat\tomcat-main\output\build\logs\TEST-org.apache.jasper.runtime.TestJspRuntimeLibrary.NIO2.txt
   Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.242 sec

I have attached the 5 txt files as listed above for review (if
needed).  The first one may still be a timing issue, but I am not in a
position to judge!

If those 5 failures are all you are seeing, then you are pretty much good-to-go. None of those things would affect the code you are trying to write/test.

-chris

On Fri, 18 Feb 2022 at 18:16, Mark Thomas <ma...@apache.org> wrote:


On 18/02/2022 18:01, John Barrow wrote:
Do you have a list of the tests which fail? Do you know how to get that list?

Yes, although I am on Windows, not UNIX and so I don't have access to
grep. I did a simple search within logs for 'FAILED' and it came up
with about 20 or so. The list of test results has been cleared now
(probably when I next built Tomcat) and so I will need to run them
again but will try using the threads at the same time and then send
you the results in a separate email.

If you haven't cleared out the results from the logs directory you can do:

ant test-status

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to