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

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

commit 13449dc0522ae34c999a2db6aa263c4e19b30120
Author: Rainer Jung <[email protected]>
AuthorDate: Thu Aug 13 09:28:47 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