On 15/12/2025 15:07, Christopher Schultz wrote:
Mark,

On 12/13/25 2:21 PM, Mark Thomas wrote:
12 Dec 2025 16:15:07 Christopher Schultz <[email protected]>:

In your opinion does tcnative have any decent kind of unit-test coverage?

No.

We don't necessarily need to have Java-based unit tests, but even C- based tests?

No.

I only ask because it would be very handy to be able to perform a quick smoke-test of a tcnative release on a few platforms without having to stand-up Tomcat, etc. I know your setup is quite elaborate and it's fairly "easy" for you to do all of this, but my environment is much more modest. I'd still like to cast meaningful votes for tcnative, even if they are compile-and-unit-test votes only.

All I have is various combinations of OpenSSL and Tomcat Native that I then run the Tomcat unif tests with.

Oh, that's fair. ;)

I'm not sure if C based tests would be worth the effort.

+1

I do need to update Gump to run better combinations.

I read recently that Tomcat is the only remaining ASF project to use Gump. Is that because we have fairly unique requirements or because we have just never bothered switching to ... whatever else is being used. I only ask because -- if we were to switch -- we could potentially unburden Infra.

I don't know why other projects gave up. You'd need to ask them.

We get (have got) two main things out of Gump.

1. It is fairly low powered VM so it has uncovered a lot of timing issues in tests enabling us to make the tests more robust.

2. It builds the latest of everything so it is good for spotting things like changes in supported ciphers in OpenSSL early. This has happened a lot less recently.

We haven't really seen much of either issue recently to the point where I have been wondering if we want to continue using Gump. If we stop, that probably means Gump moving to the attic.

Or / and? maybe we ask for a Jenkins instance and build all the interesting combinations and then test them with Tomcat.

I'm assuming it's not a problem to pull a pre-release version of tcnative for this kind of testing?

My expectation is that we'd do something similar to Gump and build APR, OpenSSL and Tomcat Native (version combinations TBD) and then run the Tomcat unit tests with them. So does that mean it would be simpler just to carry on with Gump since that is working already?

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to