Skip to content

Commit 71e8688

Browse files
Closes #1114 Remove unneeded code.
1 parent b9b68e4 commit 71e8688

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/test/java/com/zaxxer/hikari/pool/TestMBean.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ public void testMBeanConnectionTimeoutChange() throws SQLException {
143143
try (Connection conn1 = ds.getConnection();
144144
Connection conn2 = ds.getConnection()) {
145145
fail("Connection should have timed out.");
146-
conn1.close();
147-
conn2.close();
148146
}
149147
catch (SQLException e) {
150148
assertEquals(1000, ds.getConnectionTimeout());

0 commit comments

Comments
 (0)