This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 7e7a7f70dd Better message when asserting Java versions in tests
7e7a7f70dd is described below
commit 7e7a7f70dd8694124eff59aa3136c344199fc892
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 00897b71f8..a5663d990d 100644
--- a/test/org/apache/catalina/core/TestAprLifecycleListener.java
+++ b/test/org/apache/catalina/core/TestAprLifecycleListener.java
@@ -45,14 +45,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]