This is an automated email from the ASF dual-hosted git repository.

rainerjung 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 9408cf2c0b Add our usual JVM version dependency for new test using 
derby
9408cf2c0b is described below

commit 9408cf2c0b1bcaeb5e12ab1f94a5580612d96f80
Author: Rainer Jung <[email protected]>
AuthorDate: Thu Aug 13 09:29:14 2026 +0200

    Add our usual JVM version dependency for new test using derby
---
 test/org/apache/catalina/users/TestDataSourceUserDatabase.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/org/apache/catalina/users/TestDataSourceUserDatabase.java 
b/test/org/apache/catalina/users/TestDataSourceUserDatabase.java
index 8a50e87557..3d06ee02f4 100644
--- a/test/org/apache/catalina/users/TestDataSourceUserDatabase.java
+++ b/test/org/apache/catalina/users/TestDataSourceUserDatabase.java
@@ -120,6 +120,8 @@ public class TestDataSourceUserDatabase extends 
LoggingBaseTest {
     @Test
     public void testMinimalUserRoleDatabase()
         throws Exception {
+        Assume.assumeTrue(JreCompat.isJre16Available());
+
         // Test functionality with the DataSourceRealm schema
 
         db = new DerbyUserDatabase("minimal");


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

Reply via email to