This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new fed9500c1a Better message when asserting Java versions in tests
fed9500c1a is described below
commit fed9500c1a7cc544ce48c8c71070b249292dbe4b
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Nov 9 13:43:39 2026 +0000
Better message when asserting Java versions in tests
---
test/org/apache/catalina/core/TestAprLifecycleListener.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/catalina/core/TestAprLifecycleListener.java
b/test/org/apache/catalina/core/TestAprLifecycleListener.java
index d101d7aaff..4943f8fe23 100644
--- a/test/org/apache/catalina/core/TestAprLifecycleListener.java
+++ b/test/org/apache/catalina/core/TestAprLifecycleListener.java
@@ -44,14 +44,14 @@ public class TestAprLifecycleListener {
@Test
public void testMultipleServerInstancesUsingFFM01() throws Exception {
- Assume.assumeTrue(JreCompat.isJre22Available());
+ Assume.assumeTrue("FFM requires Java 22+",
JreCompat.isJre22Available());
doTestMultipleServerInstancesUsingTomcatNativeLibrary(false, true);
}
@Test
public void testMultipleServerInstancesUsingFFM02() throws Exception {
- Assume.assumeTrue(JreCompat.isJre22Available());
+ Assume.assumeTrue("FFM requires Java 22+",
JreCompat.isJre22Available());
doTestMultipleServerInstancesUsingTomcatNativeLibrary(true, true);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]