Skip to content

Commit

Permalink
Test TomcatJdbc only for Java 17+
Browse files Browse the repository at this point in the history
Tomcat 11.x requires Java 17 or later
  • Loading branch information
adangel committed Dec 19, 2024
1 parent 8766975 commit 8c065f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void testGetPasswordMySQL() throws Exception {
}

@Test
@EnabledForJreRange(min = JRE.JAVA_11, disabledReason = "Tomcat JDBC 10.1.0 requires at least Java 11")
@EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "Tomcat JDBC 11.x requires at least Java 17")
public void testTomcatJdbcConnection() throws Exception {
DatabaseConnectionUtil util = new DatabaseConnectionUtil(
new JdbcConnection(MockedTomcatJdbcConnection.create("user", "xyz")));
Expand Down

0 comments on commit 8c065f6

Please sign in to comment.