Reset housekeeping period after test.

2.3.0
Brett Wooldridge 10 years ago
parent dc5771e679
commit 3ccddff117

@ -41,6 +41,7 @@ import com.zaxxer.hikari.util.UtilityElf;
*/ */
public class TestConnections public class TestConnections
{ {
@SuppressWarnings("deprecation")
@Test @Test
public void testCreate() throws SQLException public void testCreate() throws SQLException
{ {
@ -138,6 +139,7 @@ public class TestConnections
} }
finally { finally {
ds.close(); ds.close();
System.getProperties().remove("com.zaxxer.hikari.housekeeping.periodMs", "100");
} }
} }
@ -335,6 +337,7 @@ public class TestConnections
} }
} }
@SuppressWarnings("deprecation")
@Test @Test
public void testGetWithUsername() throws Exception public void testGetWithUsername() throws Exception
{ {

Loading…
Cancel
Save