From 00edde6834f38ea6b02e86518e57ceda0a77febc Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Thu, 3 May 2018 01:59:31 +0900 Subject: [PATCH] Closes #1114 Remove unneeded code. --- src/test/java/com/zaxxer/hikari/pool/TestMBean.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/java/com/zaxxer/hikari/pool/TestMBean.java b/src/test/java/com/zaxxer/hikari/pool/TestMBean.java index 6cab88678..2f0697fae 100644 --- a/src/test/java/com/zaxxer/hikari/pool/TestMBean.java +++ b/src/test/java/com/zaxxer/hikari/pool/TestMBean.java @@ -143,8 +143,6 @@ public void testMBeanConnectionTimeoutChange() throws SQLException { try (Connection conn1 = ds.getConnection(); Connection conn2 = ds.getConnection()) { fail("Connection should have timed out."); - conn1.close(); - conn2.close(); } catch (SQLException e) { assertEquals(1000, ds.getConnectionTimeout());